sync with upstream
This commit is contained in:
@ -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*
|
||||
|
Reference in New Issue
Block a user