mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-10 12:10:34 +00:00
nil -> false
This commit is contained in:
parent
b52356f6b5
commit
73fce903b8
2 changed files with 3 additions and 3 deletions
|
@ -2718,7 +2718,7 @@ bool CCarCtrl::GenerateOneEmergencyServicesCar(uint32 mi, CVector vecPos)
|
|||
attempts += 1;
|
||||
}
|
||||
if (attempts >= 5)
|
||||
return nil;
|
||||
return false;
|
||||
CAutomobile* pVehicle = new CAutomobile(mi, RANDOM_VEHICLE);
|
||||
pVehicle->AutoPilot.m_vecDestinationCoors = vecPos;
|
||||
pVehicle->SetPosition(spawnPos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue