summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-15 23:32:29 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-15 23:32:29 +0200
commit156177ff5ae12568e118de5af10a05b4d7acf71d (patch)
tree675473412e9258b02ff7f2a6be7b021286889a36 /src
parentvs botch (diff)
parentfix script crash (diff)
downloadre3-156177ff5ae12568e118de5af10a05b4d7acf71d.tar
re3-156177ff5ae12568e118de5af10a05b4d7acf71d.tar.gz
re3-156177ff5ae12568e118de5af10a05b4d7acf71d.tar.bz2
re3-156177ff5ae12568e118de5af10a05b4d7acf71d.tar.lz
re3-156177ff5ae12568e118de5af10a05b4d7acf71d.tar.xz
re3-156177ff5ae12568e118de5af10a05b4d7acf71d.tar.zst
re3-156177ff5ae12568e118de5af10a05b4d7acf71d.zip
Diffstat (limited to 'src')
-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: