Core/Entities: use PhaseShift when processing terrain updates

This commit is contained in:
Ovahlord committed 2018-03-12 11:08:05 +01:00
1 parent 3857b76431
commit 78793ac452
3 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -1281,7 +1281,7 @@ void WorldObject::_Create(ObjectGuid::LowType guidlow, HighGuid guidhigh, uint32
void WorldObject::UpdatePositionData()
{
PositionFullTerrainStatus data;
GetMap()->GetFullTerrainStatusForPosition(GetPositionX(), GetPositionY(), GetPositionZ(), data);
GetMap()->GetFullTerrainStatusForPosition(GetPhaseShift(), GetPositionX(), GetPositionY(), GetPositionZ(), data);
ProcessPositionDataChanged(data);
}