mark tiles for update for flicker/pulse lights

This commit is contained in:
Ricardo Luís Vaz Silva 2024-12-19 19:41:37 -03:00 committed by Magnus Norddahl
commit 46eab8409e

View file

@ -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);