mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 13:34:07 +00:00
CRemote
This commit is contained in:
parent
8373db1e7a
commit
43bd2227a8
7 changed files with 74 additions and 11 deletions
|
@ -2541,7 +2541,7 @@ bool CCarCtrl::JoinCarWithRoadSystemGotoCoors(CVehicle* pVehicle, CVector vecTar
|
|||
pVehicle->AutoPilot.m_aPathFindNodesInfo, &pVehicle->AutoPilot.m_nPathFindNodesCount);
|
||||
if (pVehicle->AutoPilot.m_nPathFindNodesCount < 2){
|
||||
pVehicle->AutoPilot.m_nPrevRouteNode = pVehicle->AutoPilot.m_nCurrentRouteNode = pVehicle->AutoPilot.m_nNextRouteNode = 0;
|
||||
return 1;
|
||||
return true;
|
||||
}
|
||||
pVehicle->AutoPilot.m_nPrevRouteNode = 0;
|
||||
pVehicle->AutoPilot.m_nCurrentRouteNode = pVehicle->AutoPilot.m_aPathFindNodesInfo[0] - ThePaths.m_pathNodes;
|
||||
|
@ -2550,7 +2550,7 @@ bool CCarCtrl::JoinCarWithRoadSystemGotoCoors(CVehicle* pVehicle, CVector vecTar
|
|||
pVehicle->AutoPilot.RemoveOnePathNode();
|
||||
FindLinksToGoWithTheseNodes(pVehicle);
|
||||
pVehicle->AutoPilot.m_nNextLane = pVehicle->AutoPilot.m_nCurrentLane = 0;
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
void CCarCtrl::FindLinksToGoWithTheseNodes(CVehicle* pVehicle)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue