mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 02:09:00 +00:00
quick fix
This commit is contained in:
parent
f6818f9654
commit
17a939e38d
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue