mirror of
https://github.com/mangosfour/server.git
synced 2026-01-02 01:37:05 +00:00
[9824] Use in taxi flight movegen original taxipath data.
This commit is contained in:
parent
c52e9c5d27
commit
57dcc84940
15 changed files with 149 additions and 146 deletions
|
|
@ -217,10 +217,10 @@ bool Transport::GenerateWaypoints(uint32 pathid, std::set<uint32> &mapids)
|
|||
{
|
||||
if (mapChange == 0)
|
||||
{
|
||||
TaxiPathNodeEntry const* node_i = path[i];
|
||||
if (node_i->mapid == path[i+1]->mapid)
|
||||
TaxiPathNodeEntry const& node_i = path[i];
|
||||
if (node_i.mapid == path[i+1].mapid)
|
||||
{
|
||||
keyFrame k(node_i->x, node_i->y, node_i->z, node_i->mapid, node_i->actionFlag, node_i->delay);
|
||||
keyFrame k(node_i.x, node_i.y, node_i.z, node_i.mapid, node_i.actionFlag, node_i.delay);
|
||||
keyFrames.push_back(k);
|
||||
mapids.insert(k.mapid);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue