diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-17 00:47:48 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-17 00:47:48 +0100 |
commit | dd579c40800856a427274f7491bb7bcc00df9e00 (patch) | |
tree | c165994c94bd84ec83e3aa7e04063858d18c424c | |
parent | Fix placement of some script functions (diff) | |
download | re3-dd579c40800856a427274f7491bb7bcc00df9e00.tar re3-dd579c40800856a427274f7491bb7bcc00df9e00.tar.gz re3-dd579c40800856a427274f7491bb7bcc00df9e00.tar.bz2 re3-dd579c40800856a427274f7491bb7bcc00df9e00.tar.lz re3-dd579c40800856a427274f7491bb7bcc00df9e00.tar.xz re3-dd579c40800856a427274f7491bb7bcc00df9e00.tar.zst re3-dd579c40800856a427274f7491bb7bcc00df9e00.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/World.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp index da565f22..a7531c83 100644 --- a/src/core/World.cpp +++ b/src/core/World.cpp @@ -1955,12 +1955,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 +#ifdef FIX_BUGS // from VC + if(!movingEnt->bRemoveFromWorld && movingEnt->m_rwObject && RwObjectGetType(movingEnt->m_rwObject) == rpCLUMP && +#else if(movingEnt->m_rwObject && RwObjectGetType(movingEnt->m_rwObject) == rpCLUMP && +#endif RpAnimBlendClumpGetFirstAssociation(movingEnt->GetClump())) { RpAnimBlendClumpUpdateAnimations(movingEnt->GetClump(), 0.02f * (movingEnt->IsObject() |