diff options
-rw-r--r-- | src/control/Garages.cpp | 3 |
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: |