Fix unintended life loss in GP when finishing a race with -20 rings.

This commit is contained in:
Freaky Mutant Man 2025-10-26 00:38:13 +00:00 committed by Eidolon
parent f984ecc5d7
commit fcb7d38dce

View file

@ -1330,7 +1330,7 @@ void P_DoPlayerExit(player_t *player, pflags_t flags)
if (grandprixinfo.gp == true
&& grandprixinfo.eventmode != GPEVENT_SPECIAL
&& player->bot == false && losing == false)
&& player->bot == false && losing == false && player->hudrings > 0)
{
const UINT8 lifethreshold = 20;