fix script crash
This commit is contained in:
parent
5cb7e2e42a
commit
3517f3f1a1
@ -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 New Issue
Block a user