1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-09 01:24:53 +00:00

quick fix

This commit is contained in:
Nikolay Korolev 2020-12-06 19:34:43 +03:00
parent f6818f9654
commit 17a939e38d

View file

@ -355,7 +355,7 @@ void CGarage::Update()
if (m_pDoor2) if (m_pDoor2)
m_pDoor2->bUsesCollision = true; m_pDoor2->bUsesCollision = true;
} }
#endif #else
if (m_eGarageState == GS_OPENING || m_eGarageState == GS_OPENED) { if (m_eGarageState == GS_OPENING || m_eGarageState == GS_OPENED) {
if (m_pDoor1) { if (m_pDoor1) {
if (FindPlayerPed()->m_pCurrentPhysSurface == m_pDoor1 || FindPlayerPed()->GetPedState() == PED_JUMP || FindPlayerPed()->GetPedState() == PED_FALL || !FindPlayerPed()->bIsStanding) 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) if (m_pDoor2)
m_pDoor2->bUsesCollision = true; m_pDoor2->bUsesCollision = true;
} }
#endif
} }
switch (m_eGarageType) { switch (m_eGarageType) {
case GARAGE_RESPRAY: case GARAGE_RESPRAY: