mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Core/Objects: Fixed a wrong cherry-pick merge conflict resolution - properly update zone id
This commit is contained in:
@@ -936,8 +936,8 @@ void WorldObject::ProcessPositionDataChanged(PositionFullTerrainStatus const& da
|
||||
{
|
||||
m_zoneId = m_areaId = data.areaId;
|
||||
if (AreaTableEntry const* area = sAreaTableStore.LookupEntry(m_areaId))
|
||||
if (area->ID)
|
||||
m_zoneId = area->ID;
|
||||
if (area->ParentAreaID)
|
||||
m_zoneId = area->ParentAreaID;
|
||||
m_staticFloorZ = data.floorZ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user