Core: Remove "enumeration value 'xxx' not handled in switch" warnings
--HG-- branch : trunk
This commit is contained in:
1 parent
77bd968c63
commit
e7856a831c
11 files changed
+68
-5
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user