mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-25 17:21:49 +01:00
small fix of fix
This commit is contained in:
parent
0ac621588e
commit
15b7126243
@ -2122,6 +2122,7 @@ bool CCarCtrl::PickNextNodeToFollowPath(CVehicle* pVehicle)
|
|||||||
pVehicle, nil, 999999.9f, -1);
|
pVehicle, nil, 999999.9f, -1);
|
||||||
if (pVehicle->AutoPilot.m_nPathFindNodesCount < 2)
|
if (pVehicle->AutoPilot.m_nPathFindNodesCount < 2)
|
||||||
return true;
|
return true;
|
||||||
|
pVehicle->AutoPilot.RemoveOnePathNode();
|
||||||
}
|
}
|
||||||
CPathNode* pNextPathNode = &ThePaths.m_pathNodes[pVehicle->AutoPilot.m_nNextRouteNode];
|
CPathNode* pNextPathNode = &ThePaths.m_pathNodes[pVehicle->AutoPilot.m_nNextRouteNode];
|
||||||
CCarPathLink* pCurLink = &ThePaths.m_carPathLinks[pVehicle->AutoPilot.m_nNextPathNodeInfo];
|
CCarPathLink* pCurLink = &ThePaths.m_carPathLinks[pVehicle->AutoPilot.m_nNextPathNodeInfo];
|
||||||
|
Loading…
Reference in New Issue
Block a user