From f76a958c5324d0242ebef56a4d4336f7bb3f6437 Mon Sep 17 00:00:00 2001 From: AJ Martinez Date: Thu, 28 Mar 2024 16:13:10 -0700 Subject: [PATCH] Kill players that fail loops --- src/p_loop.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/p_loop.c b/src/p_loop.c index 67ba60f02..839876e6a 100644 --- a/src/p_loop.c +++ b/src/p_loop.c @@ -177,11 +177,15 @@ boolean P_PlayerOrbit(player_t *player) step = left; } - // If player slows down by too much, throw them out of - // the loop in a tumble. + // If player slows down by too much, throw them + // out of the loop and reset them. + // (markedfordeath will kill the player on their + // first ground contact!) if (player->speed < player->mo->scale) { P_HaltPlayerOrbit(player); + player->markedfordeath = true; + K_PlayPainSound(player->mo, NULL); K_StumblePlayer(player); return false;