summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay <nickvnuk@gmail.com>2021-08-28 13:19:51 +0200
committerGitHub <noreply@github.com>2021-08-28 13:19:51 +0200
commit8ef1e29a5ca389f56e942b25e7ad8062beb56cac (patch)
treeab3edb8f291ba4495f4224f351d9c1c705de8c6a
parentfix debug teleport (diff)
downloadre3-8ef1e29a5ca389f56e942b25e7ad8062beb56cac.tar
re3-8ef1e29a5ca389f56e942b25e7ad8062beb56cac.tar.gz
re3-8ef1e29a5ca389f56e942b25e7ad8062beb56cac.tar.bz2
re3-8ef1e29a5ca389f56e942b25e7ad8062beb56cac.tar.lz
re3-8ef1e29a5ca389f56e942b25e7ad8062beb56cac.tar.xz
re3-8ef1e29a5ca389f56e942b25e7ad8062beb56cac.tar.zst
re3-8ef1e29a5ca389f56e942b25e7ad8062beb56cac.zip
-rw-r--r--src/control/Script4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script4.cpp b/src/control/Script4.cpp
index ac632b15..16a4ddae 100644
--- a/src/control/Script4.cpp
+++ b/src/control/Script4.cpp
@@ -811,7 +811,7 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
flags = pPed->m_pMyVehicle->m_nNumMaxPassengers != 0 ? CAR_DOOR_FLAG_LF : CAR_DOOR_FLAG_LF | CAR_DOOR_FLAG_LR;
break;
case CAR_DOOR_LR:
- flags = pPed->m_pMyVehicle->m_nNumMaxPassengers != 0 ? CAR_DOOR_FLAG_RF : CAR_DOOR_FLAG_LF | CAR_DOOR_FLAG_LR;
+ flags = pPed->m_pMyVehicle->m_nNumMaxPassengers != 0 ? CAR_DOOR_FLAG_LR : CAR_DOOR_FLAG_LF | CAR_DOOR_FLAG_LR;
break;
case CAR_DOOR_RF:
flags = CAR_DOOR_FLAG_RF;