summaryrefslogtreecommitdiffstats
path: root/src/core/World.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-08-03 03:00:12 +0200
committereray orçunus <erayorcunus@gmail.com>2020-08-03 15:00:32 +0200
commite14252914e9bd4cf7702479b5e0b050b935ba4aa (patch)
treedf42291b9b6745f86097de4d58fc55e6a64b1b8c /src/core/World.cpp
parentMove sdk and eax (diff)
downloadre3-e14252914e9bd4cf7702479b5e0b050b935ba4aa.tar
re3-e14252914e9bd4cf7702479b5e0b050b935ba4aa.tar.gz
re3-e14252914e9bd4cf7702479b5e0b050b935ba4aa.tar.bz2
re3-e14252914e9bd4cf7702479b5e0b050b935ba4aa.tar.lz
re3-e14252914e9bd4cf7702479b5e0b050b935ba4aa.tar.xz
re3-e14252914e9bd4cf7702479b5e0b050b935ba4aa.tar.zst
re3-e14252914e9bd4cf7702479b5e0b050b935ba4aa.zip
Diffstat (limited to '')
-rw-r--r--src/core/World.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp
index 9f384048..7f8d8994 100644
--- a/src/core/World.cpp
+++ b/src/core/World.cpp
@@ -1941,6 +1941,11 @@ CWorld::Process(void)
} else {
for(CPtrNode *node = ms_listMovingEntityPtrs.first; node; node = node->next) {
CEntity *movingEnt = (CEntity *)node->item;
+#ifdef SQUEEZE_PERFORMANCE
+ if (movingEnt->bRemoveFromWorld) {
+ RemoveEntityInsteadOfProcessingIt(movingEnt);
+ } else
+#endif
if(movingEnt->m_rwObject && RwObjectGetType(movingEnt->m_rwObject) == rpCLUMP &&
RpAnimBlendClumpGetFirstAssociation(movingEnt->GetClump())) {
RpAnimBlendClumpUpdateAnimations(movingEnt->GetClump(),