Skip to content

Commit

Permalink
- fixed bad statnum in Light_Stop.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed May 22, 2019
1 parent 4d2a793 commit 34a13ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/g_shared/a_lights.cpp
Expand Up @@ -816,7 +816,7 @@ void FLevelLocals::EV_StartLightFading(int tag, int value, int tics)

void FLevelLocals::EV_StopLightEffect (int tag)
{
auto iterator = GetThinkerIterator<DLighting>(NAME_None, STAT_LIGHTNING);
auto iterator = GetThinkerIterator<DLighting>(NAME_None, STAT_LIGHT);
DLighting *effect;

while ((effect = iterator.Next()) != nullptr)
Expand Down

0 comments on commit 34a13ca

Please sign in to comment.