mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 00:21:43 +00:00
- fixed bad statnum in Light_Stop.
This commit is contained in:
parent
4d2a7930ac
commit
34a13cae04
1 changed files with 1 additions and 1 deletions
|
@ -816,7 +816,7 @@ void FLevelLocals::EV_StartLightFading(int tag, int value, int tics)
|
||||||
|
|
||||||
void FLevelLocals::EV_StopLightEffect (int tag)
|
void FLevelLocals::EV_StopLightEffect (int tag)
|
||||||
{
|
{
|
||||||
auto iterator = GetThinkerIterator<DLighting>(NAME_None, STAT_LIGHTNING);
|
auto iterator = GetThinkerIterator<DLighting>(NAME_None, STAT_LIGHT);
|
||||||
DLighting *effect;
|
DLighting *effect;
|
||||||
|
|
||||||
while ((effect = iterator.Next()) != nullptr)
|
while ((effect = iterator.Next()) != nullptr)
|
||||||
|
|
Loading…
Reference in a new issue