diff options
author | Machiavelli <none@none> | 2010-06-23 00:57:16 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2010-06-23 00:57:16 +0200 |
commit | d50cb473cbb1ad0e276b6fc31b477a54d37b2255 (patch) | |
tree | 6ae8d2fd311f861b7c40cfd618d52ba652509a15 /src/server/game/Globals/ObjectMgr.cpp | |
parent | 1daa1c09f9c03fdc99bafb14886160f13870e277 (diff) |
Use original taxipath data in taxi flight movement generator. Author: Vladimir
+ Cleanup
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Globals/ObjectMgr.cpp')
-rw-r--r-- | src/server/game/Globals/ObjectMgr.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index acdadc57dd8..99b12743237 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -5482,25 +5482,6 @@ uint32 ObjectMgr::GetTaxiMountDisplayId(uint32 id, uint32 team, bool allowed_alt return mount_id; } -void ObjectMgr::GetTaxiPathNodes(uint32 path, Path &pathnodes, std::vector<uint32>& mapIds) -{ - if (path >= sTaxiPathNodesByPath.size()) - return; - - TaxiPathNodeList& nodeList = sTaxiPathNodesByPath[path]; - - pathnodes.Resize(nodeList.size()); - mapIds.resize(nodeList.size()); - - for (size_t i = 0; i < nodeList.size(); ++i) - { - pathnodes[i].x = nodeList[i]->x; - pathnodes[i].y = nodeList[i]->y; - pathnodes[i].z = nodeList[i]->z; - mapIds[i] = nodeList[i]->mapid; - } -} - void ObjectMgr::LoadGraveyardZones() { mGraveYardMap.clear(); // need for reload case |