- properly track whether some action in the current frame may have triggered a dynamic light activation.

This commit is contained in:
Christoph Oelckers 2021-09-21 20:31:10 +02:00
commit 6c12a8de12
6 changed files with 30 additions and 4 deletions

View file

@ -598,6 +598,9 @@ void P_SetupLevel(FLevelLocals *Level, int position, bool newGame)
auto it = Level->GetThinkerIterator<AActor>();
AActor* ac;
Level->flags3 |= LEVEL3_LIGHTCREATED;
// Initial setup of the dynamic lights.
while ((ac = it.Next()))
{