mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-12 23:44:09 +00:00
sync with upstream
This commit is contained in:
commit
a361fc0ff5
33 changed files with 2027 additions and 937 deletions
|
@ -866,10 +866,9 @@ CVehicle*
|
|||
FindPlayerVehicle(void)
|
||||
{
|
||||
CPlayerPed *ped = FindPlayerPed();
|
||||
if(ped->InVehicle())
|
||||
if(ped && ped->InVehicle())
|
||||
return ped->m_pMyVehicle;
|
||||
else
|
||||
return nil;
|
||||
return nil;
|
||||
}
|
||||
|
||||
CVehicle*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue