From 34a13cae044604bcbdc879577b90dbcf01529c62 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 22 May 2019 10:24:07 +0200 Subject: [PATCH] - fixed bad statnum in Light_Stop. --- src/g_shared/a_lights.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_shared/a_lights.cpp b/src/g_shared/a_lights.cpp index 7dce5215f..68c417446 100644 --- a/src/g_shared/a_lights.cpp +++ b/src/g_shared/a_lights.cpp @@ -816,7 +816,7 @@ void FLevelLocals::EV_StartLightFading(int tag, int value, int tics) void FLevelLocals::EV_StopLightEffect (int tag) { - auto iterator = GetThinkerIterator(NAME_None, STAT_LIGHTNING); + auto iterator = GetThinkerIterator(NAME_None, STAT_LIGHT); DLighting *effect; while ((effect = iterator.Next()) != nullptr)