summaryrefslogtreecommitdiffstats
path: root/src/animation
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-09-09 21:36:53 +0200
committerSergeanur <s.anureev@yandex.ua>2020-09-09 21:36:53 +0200
commitc5b411c1edc078d555082d147454a0605a0143eb (patch)
tree659a709949c588514a4ca4c3498bdd700ec2540e /src/animation
parentCStats::PopulateFavoriteRadioStationList (diff)
downloadre3-c5b411c1edc078d555082d147454a0605a0143eb.tar
re3-c5b411c1edc078d555082d147454a0605a0143eb.tar.gz
re3-c5b411c1edc078d555082d147454a0605a0143eb.tar.bz2
re3-c5b411c1edc078d555082d147454a0605a0143eb.tar.lz
re3-c5b411c1edc078d555082d147454a0605a0143eb.tar.xz
re3-c5b411c1edc078d555082d147454a0605a0143eb.tar.zst
re3-c5b411c1edc078d555082d147454a0605a0143eb.zip
Diffstat (limited to 'src/animation')
-rw-r--r--src/animation/CutsceneMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animation/CutsceneMgr.cpp b/src/animation/CutsceneMgr.cpp
index 31128990..64951a87 100644
--- a/src/animation/CutsceneMgr.cpp
+++ b/src/animation/CutsceneMgr.cpp
@@ -657,7 +657,7 @@ CCutsceneMgr::RemoveEverythingFromTheWorldForTheBiggestFuckoffCutsceneEver()
for (int i = CPools::GetBuildingPool()->GetSize() - 1; i >= 0; 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)
CStreaming::RequestModel(pBuilding->GetModelIndex(), 0);
if (!pBuilding->bImBeingRendered)