mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-23 09:39:16 +01:00
Fix crash on assert
This commit is contained in:
parent
f0ccbcb281
commit
c5b411c1ed
@ -657,7 +657,7 @@ CCutsceneMgr::RemoveEverythingFromTheWorldForTheBiggestFuckoffCutsceneEver()
|
|||||||
|
|
||||||
for (int i = CPools::GetBuildingPool()->GetSize() - 1; i >= 0; i--) {
|
for (int i = CPools::GetBuildingPool()->GetSize() - 1; i >= 0; i--) {
|
||||||
CBuilding* pBuilding = CPools::GetBuildingPool()->GetSlot(i);
|
CBuilding* pBuilding = CPools::GetBuildingPool()->GetSlot(i);
|
||||||
if (pBuilding && pBuilding->GetClump() != nil && pBuilding->bIsBIGBuilding && pBuilding->bStreamBIGBuilding) {
|
if (pBuilding && pBuilding->m_rwObject != nil && pBuilding->bIsBIGBuilding && pBuilding->bStreamBIGBuilding) {
|
||||||
if (pBuilding->bIsBIGBuilding)
|
if (pBuilding->bIsBIGBuilding)
|
||||||
CStreaming::RequestModel(pBuilding->GetModelIndex(), 0);
|
CStreaming::RequestModel(pBuilding->GetModelIndex(), 0);
|
||||||
if (!pBuilding->bImBeingRendered)
|
if (!pBuilding->bImBeingRendered)
|
||||||
|
Loading…
Reference in New Issue
Block a user