mess with total ring calculations

This commit is contained in:
Sally Coolatta 2020-06-05 18:54:23 -04:00
parent 47d6fba4de
commit 9ae8628424

View file

@ -1755,6 +1755,8 @@ void P_DoPlayerExit(player_t *player)
grandprixinfo.wonround = true; grandprixinfo.wonround = true;
// Increase your total rings // Increase your total rings
if (RINGTOTAL(player) > 0)
{
player->totalring += RINGTOTAL(player); player->totalring += RINGTOTAL(player);
extra = player->totalring / lifethreshold; extra = player->totalring / lifethreshold;
@ -1767,6 +1769,7 @@ void P_DoPlayerExit(player_t *player)
} }
} }
} }
}
player->powers[pw_underwater] = 0; player->powers[pw_underwater] = 0;
player->powers[pw_spacetime] = 0; player->powers[pw_spacetime] = 0;