- fixed bad statnum in Light_Stop.

This commit is contained in:
Christoph Oelckers 2019-05-22 10:24:07 +02:00
parent 4d2a7930ac
commit 34a13cae04

View file

@ -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)