summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay <nickvnuk@gmail.com>2021-08-28 13:19:51 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-28 13:22:52 +0200
commite865e65955838f3a5901c737263177797c6eebfa (patch)
tree42d3a6b1875be1e6b3b39f624eaf7edebf605c87 /src
parentfix (diff)
downloadre3-e865e65955838f3a5901c737263177797c6eebfa.tar
re3-e865e65955838f3a5901c737263177797c6eebfa.tar.gz
re3-e865e65955838f3a5901c737263177797c6eebfa.tar.bz2
re3-e865e65955838f3a5901c737263177797c6eebfa.tar.lz
re3-e865e65955838f3a5901c737263177797c6eebfa.tar.xz
re3-e865e65955838f3a5901c737263177797c6eebfa.tar.zst
re3-e865e65955838f3a5901c737263177797c6eebfa.zip
Diffstat (limited to 'src')
-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 486ff39a..b6bc9b4c 100644
--- a/src/control/Script4.cpp
+++ b/src/control/Script4.cpp
@@ -806,7 +806,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;