diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-15 23:32:29 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-15 23:32:29 +0200 |
commit | 156177ff5ae12568e118de5af10a05b4d7acf71d (patch) | |
tree | 675473412e9258b02ff7f2a6be7b021286889a36 /src/control/Script.cpp | |
parent | vs botch (diff) | |
parent | fix script crash (diff) | |
download | re3-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/control/Script.cpp')
-rw-r--r-- | src/control/Script.cpp | 4 |
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: |