From df52a71475af281fc8fdaa520ff5bf43838220e0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 6 Nov 2018 01:01:33 +0100 Subject: [PATCH] - fixed validcount. --- src/g_shared/a_dynlight.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/g_shared/a_dynlight.cpp b/src/g_shared/a_dynlight.cpp index 8f5c3ec1a..50e1d1991 100644 --- a/src/g_shared/a_dynlight.cpp +++ b/src/g_shared/a_dynlight.cpp @@ -707,6 +707,7 @@ void ADynamicLight::LinkLight() FSection *sect = R_PointInSubsector(Pos())->section; dl_validcount++; + validcount++; CollectWithinRadius(Pos(), sect, float(radius*radius)); }