mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Phasing: Fixed terrain swaps appearing on incorrect maps when player is added to a map wilth not meeting its condition but later condition gets satisfied
This commit is contained in:
@@ -283,7 +283,7 @@ void PhasingHandler::OnMapChange(WorldObject* object)
|
||||
for (uint32 uiMapPhaseId : visibleMapInfo->UiMapPhaseIDs)
|
||||
phaseShift.AddUiMapPhaseId(uiMapPhaseId);
|
||||
}
|
||||
else
|
||||
else if (visibleMapPair.first == object->GetMapId())
|
||||
suppressedPhaseShift.AddVisibleMapId(visibleMapInfo->Id, visibleMapInfo);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user