mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- fixed handling of states with the 'light' keyword.
This commit is contained in:
parent
c13cd74766
commit
23477342c3
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ bool AActor::SetState (FState *newstate, bool nofunction)
|
||||||
newstate = newstate->GetNextState();
|
newstate = newstate->GetNextState();
|
||||||
} while (tics == 0);
|
} while (tics == 0);
|
||||||
|
|
||||||
if (GetInfo()->LightAssociations.Size())
|
if (GetInfo()->LightAssociations.Size() || newstate->Light > 0)
|
||||||
{
|
{
|
||||||
flags8 |= MF8_RECREATELIGHTS;
|
flags8 |= MF8_RECREATELIGHTS;
|
||||||
Level->flags3 |= LEVEL3_LIGHTCREATED;
|
Level->flags3 |= LEVEL3_LIGHTCREATED;
|
||||||
|
|
Loading…
Reference in a new issue