Freeze finish line when level is frozen (fixes #237)

This commit is contained in:
JugadorXEI 2025-09-30 22:13:43 +00:00 committed by Eidolon
parent daa6dbd667
commit a9fe850eda

View file

@ -424,7 +424,7 @@ static void K_DrawFinishLineBeamForLine(fixed_t offset, angle_t aiming, line_t *
void K_RunFinishLineBeam(void) void K_RunFinishLineBeam(void)
{ {
if ((gametyperules & GTR_ROLLINGSTART) || !(leveltime < starttime || rainbowstartavailable == true)) if ((gametyperules & GTR_ROLLINGSTART) || !(leveltime < starttime || rainbowstartavailable == true) || P_LevelIsFrozen())
{ {
return; return;
} }