- fixed particle processing in the main thinker loop

This may not be guarded by the dynamic light flags, only the light ticking may.
This commit is contained in:
Christoph Oelckers 2021-09-24 08:33:37 +02:00
commit 3ef60a40a5
2 changed files with 4 additions and 4 deletions

View file

@ -4803,7 +4803,7 @@ void AActor::PostBeginPlay ()
{
PrevAngles = Angles;
flags7 |= MF7_HANDLENODELAY;
if (GetInfo()->LightAssociations.Size())
if (GetInfo()->LightAssociations.Size() || (state && state->Light > 0))
{
flags8 |= MF8_RECREATELIGHTS;
Level->flags3 |= LEVEL3_LIGHTCREATED;