diff options
author | megamage <none@none> | 2009-01-02 11:03:43 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-02 11:03:43 -0600 |
commit | 1e4381f7b1ad0127257dc858ce300ded444e2664 (patch) | |
tree | 3e969945e05665916eded128ca5338efab9b812a /src/game/Object.cpp | |
parent | 3deefb9f00201033728d4467180d8ba9aa265a20 (diff) |
*Update to Mangos 7006.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r-- | src/game/Object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp index a33cd1a7bd4..84440eec34b 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -1108,12 +1108,12 @@ void WorldObject::_Create( uint32 guidlow, HighGuid guidhigh, uint32 mapid ) uint32 WorldObject::GetZoneId() const { - return MapManager::Instance().GetBaseMap(m_mapId)->GetZoneId(m_positionX,m_positionY); + return MapManager::Instance().GetBaseMap(m_mapId)->GetZoneId(m_positionX,m_positionY,m_positionZ); } uint32 WorldObject::GetAreaId() const { - return MapManager::Instance().GetBaseMap(m_mapId)->GetAreaId(m_positionX,m_positionY); + return MapManager::Instance().GetBaseMap(m_mapId)->GetAreaId(m_positionX,m_positionY,m_positionZ); } InstanceData* WorldObject::GetInstanceData() |