From 46eab8409e0c3d5b59c8b3856c96a14664e03120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Lu=C3=ADs=20Vaz=20Silva?= Date: Thu, 19 Dec 2024 19:41:37 -0300 Subject: [PATCH] mark tiles for update for flicker/pulse lights --- src/playsim/a_dynlight.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playsim/a_dynlight.cpp b/src/playsim/a_dynlight.cpp index a55f70e9a..bfdf40c73 100644 --- a/src/playsim/a_dynlight.cpp +++ b/src/playsim/a_dynlight.cpp @@ -423,7 +423,7 @@ void FDynamicLight::Tick() bool updated = UpdateLocation(); - if(!updated && markTiles && (m_active != wasactive || oldred != GetRed() || oldblue != GetBlue() || oldgreen != GetGreen())) + if(!updated && markTiles && (m_active != wasactive || oldred != GetRed() || oldblue != GetBlue() || oldgreen != GetGreen() || oldradius != m_currentRadius)) { MarkTilesForUpdate(Level, touching_sides, touching_sector);