summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-28 00:00:49 +0200
committerGitHub <noreply@github.com>2020-05-28 00:00:49 +0200
commitd9d57f12fc28c4d93a3534bd3c96be2158e213b9 (patch)
tree2bb5118798aa1a3ce7ad57f79f574da07add23ae /src/control/Script.cpp
parentbla (diff)
downloadre3-d9d57f12fc28c4d93a3534bd3c96be2158e213b9.tar
re3-d9d57f12fc28c4d93a3534bd3c96be2158e213b9.tar.gz
re3-d9d57f12fc28c4d93a3534bd3c96be2158e213b9.tar.bz2
re3-d9d57f12fc28c4d93a3534bd3c96be2158e213b9.tar.lz
re3-d9d57f12fc28c4d93a3534bd3c96be2158e213b9.tar.xz
re3-d9d57f12fc28c4d93a3534bd3c96be2158e213b9.tar.zst
re3-d9d57f12fc28c4d93a3534bd3c96be2158e213b9.zip
Diffstat (limited to 'src/control/Script.cpp')
-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: