Update the light list (we really need to do this in a less retarded way) when lm_always_update is active

This commit is contained in:
Magnus Norddahl 2023-09-16 05:38:30 +02:00 committed by Christoph Oelckers
parent f45ab9b75c
commit 11e6e1d049

View file

@ -431,6 +431,11 @@ void HWDrawInfo::UpdateLightmaps()
}
}
if (lm_always_update) // To do: this is stupid, but it lets us see the move for now!
{
level.levelMesh->UpdateLightLists();
}
screen->UpdateLightmaps(VisibleSurfaces);
}