summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay <nickvnuk@gmail.com>2021-08-28 14:19:51 +0300
committerGitHub <noreply@github.com>2021-08-28 14:19:51 +0300
commit8ef1e29a5ca389f56e942b25e7ad8062beb56cac (patch)
treeab3edb8f291ba4495f4224f351d9c1c705de8c6a
parent7a80acf6a16cae5aa3303090097a43406746e04d (diff)
fix
-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;