Use original taxipath data in taxi flight movement generator. Author: Vladimir
+ Cleanup --HG-- branch : trunk
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user