mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 17:10:01 +00:00
small fix
This commit is contained in:
parent
acdf602505
commit
0ac621588e
|
@ -2120,7 +2120,7 @@ bool CCarCtrl::PickNextNodeToFollowPath(CVehicle* pVehicle)
|
||||||
pVehicle->AutoPilot.m_vecDestinationCoors, pVehicle->AutoPilot.m_aPathFindNodesInfo,
|
pVehicle->AutoPilot.m_vecDestinationCoors, pVehicle->AutoPilot.m_aPathFindNodesInfo,
|
||||||
&pVehicle->AutoPilot.m_nPathFindNodesCount, NUM_PATH_NODES_IN_AUTOPILOT,
|
&pVehicle->AutoPilot.m_nPathFindNodesCount, NUM_PATH_NODES_IN_AUTOPILOT,
|
||||||
pVehicle, nil, 999999.9f, -1);
|
pVehicle, nil, 999999.9f, -1);
|
||||||
if (pVehicle->AutoPilot.m_nPathFindNodesCount < 1)
|
if (pVehicle->AutoPilot.m_nPathFindNodesCount < 2)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
CPathNode* pNextPathNode = &ThePaths.m_pathNodes[pVehicle->AutoPilot.m_nNextRouteNode];
|
CPathNode* pNextPathNode = &ThePaths.m_pathNodes[pVehicle->AutoPilot.m_nNextRouteNode];
|
||||||
|
|
Loading…
Reference in a new issue