Core/Misc: More warning fixes
This commit is contained in:
1 parent
095fc85986
commit
413d6621c3
1 file changed
+1
-1
@@ -2915,7 +2915,7 @@ void WorldObject::RebuildTerrainSwaps()
|
||||
{
|
||||
// only add terrain swaps for current map
|
||||
MapEntry const* mapEntry = sMapStore.LookupEntry(swap);
|
||||
if (!mapEntry || mapEntry->rootPhaseMap != GetMapId())
|
||||
if (!mapEntry || mapEntry->rootPhaseMap != int32(GetMapId()))
|
||||
continue;
|
||||
|
||||
conditions = sConditionMgr->GetConditionsForNotGroupedEntry(CONDITION_SOURCE_TYPE_TERRAIN_SWAP, swap);
|
||||
|
||||
Reference in new issue
Block a user