mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 08:30:00 +00:00
fix
This commit is contained in:
parent
8b08098d4e
commit
2420325c02
|
@ -2234,6 +2234,8 @@ void CGarages::SetAllDoorsBackToOriginalHeight()
|
||||||
default:
|
default:
|
||||||
aGarages[i].RefreshDoorPointers(true);
|
aGarages[i].RefreshDoorPointers(true);
|
||||||
if (aGarages[i].m_pDoor1) {
|
if (aGarages[i].m_pDoor1) {
|
||||||
|
aGarages[i].m_pDoor1->GetMatrix().GetPosition().x = aGarages[i].m_fDoor1X;
|
||||||
|
aGarages[i].m_pDoor1->GetMatrix().GetPosition().y = aGarages[i].m_fDoor1Y;
|
||||||
aGarages[i].m_pDoor1->GetMatrix().GetPosition().z = aGarages[i].m_fDoor1Z;
|
aGarages[i].m_pDoor1->GetMatrix().GetPosition().z = aGarages[i].m_fDoor1Z;
|
||||||
if (aGarages[i].m_pDoor1->IsObject())
|
if (aGarages[i].m_pDoor1->IsObject())
|
||||||
((CObject*)aGarages[i].m_pDoor1)->m_objectMatrix.GetPosition().z = aGarages[i].m_fDoor1Z;
|
((CObject*)aGarages[i].m_pDoor1)->m_objectMatrix.GetPosition().z = aGarages[i].m_fDoor1Z;
|
||||||
|
@ -2243,6 +2245,8 @@ void CGarages::SetAllDoorsBackToOriginalHeight()
|
||||||
aGarages[i].m_pDoor1->UpdateRwFrame();
|
aGarages[i].m_pDoor1->UpdateRwFrame();
|
||||||
}
|
}
|
||||||
if (aGarages[i].m_pDoor2) {
|
if (aGarages[i].m_pDoor2) {
|
||||||
|
aGarages[i].m_pDoor2->GetMatrix().GetPosition().x = aGarages[i].m_fDoor2X;
|
||||||
|
aGarages[i].m_pDoor2->GetMatrix().GetPosition().y = aGarages[i].m_fDoor2Y;
|
||||||
aGarages[i].m_pDoor2->GetMatrix().GetPosition().z = aGarages[i].m_fDoor2Z;
|
aGarages[i].m_pDoor2->GetMatrix().GetPosition().z = aGarages[i].m_fDoor2Z;
|
||||||
if (aGarages[i].m_pDoor2->IsObject())
|
if (aGarages[i].m_pDoor2->IsObject())
|
||||||
((CObject*)aGarages[i].m_pDoor2)->m_objectMatrix.GetPosition().z = aGarages[i].m_fDoor2Z;
|
((CObject*)aGarages[i].m_pDoor2)->m_objectMatrix.GetPosition().z = aGarages[i].m_fDoor2Z;
|
||||||
|
|
Loading…
Reference in a new issue