diff options
author | megamage <none@none> | 2009-06-16 11:19:59 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-06-16 11:19:59 -0500 |
commit | 3cf2be604275ec1ae7321b78dc6b62e559a5d7c7 (patch) | |
tree | d119d51bcee396d8fe913fa6b709ff45da2a2c2e /src/game/Transports.cpp | |
parent | aaec3c819167afb3f40410142654ed4d57926b10 (diff) |
[8026] Obtain object's map directly by calling appropriate WorldObject::GetMap()/GetBaseMap() functions instead of accessing MapManager. Code cleanups. Big thanks Infinity for tests. Author: Ambal
--HG--
branch : trunk
Diffstat (limited to 'src/game/Transports.cpp')
-rw-r--r-- | src/game/Transports.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Transports.cpp b/src/game/Transports.cpp index 58e2447e6c4..11089f053d1 100644 --- a/src/game/Transports.cpp +++ b/src/game/Transports.cpp @@ -93,7 +93,7 @@ void MapManager::LoadTransports() uint32 mapid; x = t->m_WayPoints[0].x; y = t->m_WayPoints[0].y; z = t->m_WayPoints[0].z; mapid = t->m_WayPoints[0].mapid; o = 1; - // creates the Gameobject + // creates the Gameobject if(!t->Create(entry, mapid, x, y, z, o, 100, 0)) { delete t; |