summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-15 23:31:57 +0200
committerGitHub <noreply@github.com>2020-04-15 23:31:57 +0200
commit3517f3f1a1c41d3a5334f8676c60f7cb87d4bc4c (patch)
treecff101b3338971194a55499ec8e78f0451d0e612 /src/control/Script.cpp
parentMerge pull request #440 from Fire-Head/master (diff)
downloadre3-3517f3f1a1c41d3a5334f8676c60f7cb87d4bc4c.tar
re3-3517f3f1a1c41d3a5334f8676c60f7cb87d4bc4c.tar.gz
re3-3517f3f1a1c41d3a5334f8676c60f7cb87d4bc4c.tar.bz2
re3-3517f3f1a1c41d3a5334f8676c60f7cb87d4bc4c.tar.lz
re3-3517f3f1a1c41d3a5334f8676c60f7cb87d4bc4c.tar.xz
re3-3517f3f1a1c41d3a5334f8676c60f7cb87d4bc4c.tar.zst
re3-3517f3f1a1c41d3a5334f8676c60f7cb87d4bc4c.zip
Diffstat (limited to '')
-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 83d072f3..d1134b7c 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -10076,8 +10076,8 @@ void CRunningScript::LocatePlayerCarCommand(int32 command, uint32* pIp)
case COMMAND_LOCATE_PLAYER_ON_FOOT_CAR_3D:
result = !pPlayerInfo->m_pPed->bInVehicle;
break;
- case COMMAND_LOCATE_PLAYER_IN_CAR_CHAR_2D:
- case COMMAND_LOCATE_PLAYER_IN_CAR_CHAR_3D:
+ case COMMAND_LOCATE_PLAYER_IN_CAR_CAR_2D:
+ case COMMAND_LOCATE_PLAYER_IN_CAR_CAR_3D:
result = pPlayerInfo->m_pPed->bInVehicle;
break;
default: