summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-28 01:00:49 +0300
committerGitHub <noreply@github.com>2020-05-28 01:00:49 +0300
commitd9d57f12fc28c4d93a3534bd3c96be2158e213b9 (patch)
tree2bb5118798aa1a3ce7ad57f79f574da07add23ae
parent0bc6eef55d560a0d17c58792668d01cfeaf4bf66 (diff)
crash fix
-rw-r--r--src/control/Script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 406b11b7..1ea970c4 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -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: