Don't give extra lives in the final entry on a Round Queue (which fixes sealed star sound overload)

This commit is contained in:
toaster 2023-08-26 23:47:36 +01:00
parent 6869496843
commit 6fb7d16c85

View file

@ -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;