Fix softlock on old special stages when running out of time due to being hit

This commit is contained in:
Hanicef 2024-03-20 22:49:12 +01:00
parent 940756ad62
commit d00c6a8ab9

View file

@ -3640,7 +3640,7 @@ void P_SpecialStageDamage(player_t *player, mobj_t *inflictor, mobj_t *source)
if (player->nightstime > 5*TICRATE)
player->nightstime -= 5*TICRATE;
else
player->nightstime = 0;
player->nightstime = 1;
}
P_DoPlayerPain(player, inflictor, source);