From ae30a24a717a7b3eabe6b517b47ab0c00c8f1eca Mon Sep 17 00:00:00 2001 From: toaster Date: Thu, 16 Feb 2023 17:09:13 +0000 Subject: [PATCH] K_MoveExitBeam: PF_NOCONTEST and P_DoPlayerExit to match other special stage failures. Not a currently accessible codepath, but in-advance fix.: P_DoTimeOver sets exitcountdown effectively unconditionally, which means it can only be used in situations where *every* remaining player is about to explode. --- src/k_specialstage.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/k_specialstage.c b/src/k_specialstage.c index b0defccb9..7aca01e4a 100644 --- a/src/k_specialstage.c +++ b/src/k_specialstage.c @@ -102,7 +102,8 @@ static void K_MoveExitBeam(void) if (player->distancetofinish > specialstageinfo.beamDist) { - P_DoTimeOver(player); + player->pflags |= PF_NOCONTEST; + P_DoPlayerExit(player); } } }