From 3f3e258d7769aa3522602687aea1119f32f3c589 Mon Sep 17 00:00:00 2001 From: aap Date: Thu, 29 Jul 2021 19:41:38 +0200 Subject: CVisibilityPlugins, CRenderer, some fixes --- src/core/World.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/World.cpp') diff --git a/src/core/World.cpp b/src/core/World.cpp index 43af9f12..fb0323ae 100644 --- a/src/core/World.cpp +++ b/src/core/World.cpp @@ -1931,6 +1931,7 @@ CWorld::Process(void) if(movingEnt->GetIsStatic()) { movingEnt->RemoveFromMovingList(); } } } +#ifdef VIS_DISTANCE_ALPHA for(int y = 0; y < NUMSECTORS_Y; y++) for(int x = 0; x < NUMSECTORS_X; x++){ CPtrNode *node; @@ -1952,6 +1953,7 @@ CWorld::Process(void) for(node = sect->m_lists[ENTITYLIST_DUMMIES_OVERLAP].first; node; node = node->next) ((CEntity*)node->item)->UpdateDistanceFade(); } +#endif bForceProcessControl = true; for(CPtrNode *node = ms_listMovingEntityPtrs.first; node; node = node->next) { CPhysical *movingEnt = (CPhysical *)node->item; -- cgit v1.2.3