mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 15:18:59 +00:00
fix script crash
This commit is contained in:
parent
5cb7e2e42a
commit
3517f3f1a1
1 changed files with 2 additions and 2 deletions
|
@ -10076,8 +10076,8 @@ void CRunningScript::LocatePlayerCarCommand(int32 command, uint32* pIp)
|
||||||
case COMMAND_LOCATE_PLAYER_ON_FOOT_CAR_3D:
|
case COMMAND_LOCATE_PLAYER_ON_FOOT_CAR_3D:
|
||||||
result = !pPlayerInfo->m_pPed->bInVehicle;
|
result = !pPlayerInfo->m_pPed->bInVehicle;
|
||||||
break;
|
break;
|
||||||
case COMMAND_LOCATE_PLAYER_IN_CAR_CHAR_2D:
|
case COMMAND_LOCATE_PLAYER_IN_CAR_CAR_2D:
|
||||||
case COMMAND_LOCATE_PLAYER_IN_CAR_CHAR_3D:
|
case COMMAND_LOCATE_PLAYER_IN_CAR_CAR_3D:
|
||||||
result = pPlayerInfo->m_pPed->bInVehicle;
|
result = pPlayerInfo->m_pPed->bInVehicle;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue