diff options
author | aap <aap@papnet.eu> | 2021-07-29 19:41:38 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-07-29 19:59:34 +0200 |
commit | 3f3e258d7769aa3522602687aea1119f32f3c589 (patch) | |
tree | ca6beec16a570275e5da7dc83d242e4ca4fb86f6 /src/core/World.cpp | |
parent | b77d93ba4a7a7bc0205d40aa7e716545962fe355 (diff) |
CVisibilityPlugins, CRenderer, some fixes
Diffstat (limited to 'src/core/World.cpp')
-rw-r--r-- | src/core/World.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |