summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-12-06 17:34:43 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-12-06 17:34:43 +0100
commit17a939e38d8bd3f56271e5c6fa12f5ed2f82097b (patch)
tree88abdbbdafedf94daf0d7a20007832544b303bf2
parentMerge remote-tracking branch 'upstream/miami' into miami (diff)
downloadre3-17a939e38d8bd3f56271e5c6fa12f5ed2f82097b.tar
re3-17a939e38d8bd3f56271e5c6fa12f5ed2f82097b.tar.gz
re3-17a939e38d8bd3f56271e5c6fa12f5ed2f82097b.tar.bz2
re3-17a939e38d8bd3f56271e5c6fa12f5ed2f82097b.tar.lz
re3-17a939e38d8bd3f56271e5c6fa12f5ed2f82097b.tar.xz
re3-17a939e38d8bd3f56271e5c6fa12f5ed2f82097b.tar.zst
re3-17a939e38d8bd3f56271e5c6fa12f5ed2f82097b.zip
-rw-r--r--src/control/Garages.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/control/Garages.cpp b/src/control/Garages.cpp
index fc825cc1..4b724ae1 100644
--- a/src/control/Garages.cpp
+++ b/src/control/Garages.cpp
@@ -355,7 +355,7 @@ void CGarage::Update()
if (m_pDoor2)
m_pDoor2->bUsesCollision = true;
}
-#endif
+#else
if (m_eGarageState == GS_OPENING || m_eGarageState == GS_OPENED) {
if (m_pDoor1) {
if (FindPlayerPed()->m_pCurrentPhysSurface == m_pDoor1 || FindPlayerPed()->GetPedState() == PED_JUMP || FindPlayerPed()->GetPedState() == PED_FALL || !FindPlayerPed()->bIsStanding)
@@ -372,6 +372,7 @@ void CGarage::Update()
if (m_pDoor2)
m_pDoor2->bUsesCollision = true;
}
+#endif
}
switch (m_eGarageType) {
case GARAGE_RESPRAY: