Core/Misc: Fix build
This commit is contained in:
1 parent
c58f540348
commit
03dc96b4c4
1 file changed
+1
-1
@@ -2911,7 +2911,7 @@ void WorldObject::RebuildTerrainSwaps()
|
||||
{
|
||||
// only add terrain swaps for current map
|
||||
MapEntry const* mapEntry = sMapStore.LookupEntry(swap.Id);
|
||||
if (!mapEntry || mapEntry->ParentMapID != int32(GetMapId()))
|
||||
if (!mapEntry || mapEntry->rootPhaseMap != int32(GetMapId()))
|
||||
continue;
|
||||
|
||||
if (sConditionMgr->IsObjectMeetToConditions(this, swap.Conditions))
|
||||
|
||||
Reference in new issue
Block a user