summaryrefslogtreecommitdiffstats
path: root/src/control/Script4.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-29 07:58:54 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-29 07:58:54 +0200
commit2be8fcfa64a9925206ed2356c2934c7559873a6a (patch)
tree9937e069805afb805c13c81877714465ad34b5fd /src/control/Script4.cpp
parentfix (diff)
parentfix (diff)
downloadre3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar
re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar.gz
re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar.bz2
re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar.lz
re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar.xz
re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar.zst
re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.zip
Diffstat (limited to 'src/control/Script4.cpp')
-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;