Don't add rings to total in GPEVENT_SPECIAL

This commit is contained in:
toaster 2024-04-15 15:43:46 +01:00
parent 99fc0c13cd
commit b654533bf6
2 changed files with 3 additions and 2 deletions

View file

@ -4532,7 +4532,7 @@ static void G_DoCompleted(void)
{ {
// Increase your total rings // Increase your total rings
INT32 ringtotal = player->hudrings; INT32 ringtotal = player->hudrings;
if (ringtotal > 0) if (ringtotal > 0 && grandprixinfo.eventmode != GPEVENT_SPECIAL)
{ {
if (ringtotal > 20) if (ringtotal > 20)
ringtotal = 20; ringtotal = 20;

View file

@ -331,7 +331,8 @@ void level_tally_t::Init(player_t *player)
} }
} }
if ((gametypes[gt]->rules & GTR_SPHERES) == 0) if ((gametypes[gt]->rules & GTR_SPHERES) == 0
&& (!grandprixinfo.gp || grandprixinfo.eventmode != GPEVENT_SPECIAL))
{ {
if (player->hudrings > 0) // Don't count negative rings if (player->hudrings > 0) // Don't count negative rings
{ {