Core: Remove "enumeration value 'xxx' not handled in switch" warnings

--HG--
branch : trunk
This commit is contained in:
Spp
2010-08-21 20:55:31 +02:00
parent 77bd968c63
commit e7856a831c
11 changed files with 68 additions and 5 deletions
+6 -4
View File
@@ -2055,10 +2055,12 @@ void Map::RemoveAllObjectsInRemoveList()
switch(obj->GetTypeId())
{
case TYPEID_UNIT:
if (!obj->ToCreature()->isPet())
SwitchGridContainers(obj->ToCreature(), on);
break;
case TYPEID_UNIT:
if (!obj->ToCreature()->isPet())
SwitchGridContainers(obj->ToCreature(), on);
break;
default:
break;
}
}