From 6fb7d16c85be4022b7721890c404d48ad9facca2 Mon Sep 17 00:00:00 2001 From: toaster Date: Sat, 26 Aug 2023 23:47:36 +0100 Subject: [PATCH] Don't give extra lives in the final entry on a Round Queue (which fixes sealed star sound overload) --- src/p_user.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/p_user.c b/src/p_user.c index a5176e580..11a213730 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -1326,7 +1326,9 @@ void P_DoPlayerExit(player_t *player, pflags_t flags) G_BeginLevelExit(); } - if (grandprixinfo.gp == true && player->bot == false && losing == false) + if (grandprixinfo.gp == true + && (roundqueue.size && roundqueue.position < roundqueue.size) // Not the last map of GP + && player->bot == false && losing == false) { const UINT8 lifethreshold = 20;