crash fix

This commit is contained in:
Nikolay Korolev 2020-05-28 01:00:49 +03:00 committed by GitHub
parent 0bc6eef55d
commit d9d57f12fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10398,8 +10398,8 @@ void CRunningScript::LocateCharCarCommand(int32 command, uint32* pIp)
case COMMAND_LOCATE_CHAR_ON_FOOT_CAR_3D:
result = !pPed->bInVehicle;
break;
case COMMAND_LOCATE_CHAR_IN_CAR_CHAR_2D:
case COMMAND_LOCATE_CHAR_IN_CAR_CHAR_3D:
case COMMAND_LOCATE_CHAR_IN_CAR_CAR_2D:
case COMMAND_LOCATE_CHAR_IN_CAR_CAR_3D:
result = pPed->bInVehicle;
break;
default: