From d057af7c3b212058c6ef26064acfcbd6e7da6912 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 3 Jan 2019 00:39:42 +0100 Subject: [PATCH] - fixed: DeactivateLight called Activate instead of Deactivate. --- src/g_shared/a_dynlight.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_shared/a_dynlight.cpp b/src/g_shared/a_dynlight.cpp index d676977a3..0273f07b5 100644 --- a/src/g_shared/a_dynlight.cpp +++ b/src/g_shared/a_dynlight.cpp @@ -179,7 +179,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(ADynamicLight, ActivateLight, ActivateLight) void DeactivateLight(AActor *self) { - for (auto l : self->AttachedLights) l->Activate(); + for (auto l : self->AttachedLights) l->Deactivate(); } DEFINE_ACTION_FUNCTION_NATIVE(ADynamicLight, DeactivateLight, DeactivateLight)