Core/Misc: More warning fixes

This commit is contained in:
Aokromes committed 2015-07-27 10:57:03 +02:00
1 parent 095fc85986
commit 413d6621c3
1 file changed
+1 -1
+1 -1
View File
@@ -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);