Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
fix script crash
  • Loading branch information
Nick007J committed Apr 15, 2020
1 parent 5cb7e2e commit 3517f3f1a1c41d3a5334f8676c60f7cb87d4bc4c
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/control/Script.cpp
@@ -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:

0 comments on commit 3517f3f

Please sign in to comment.