mirror of
https://github.com/td512/re3.git
synced 2026-01-27 07:21:42 +00:00
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