mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't add rings to total in GPEVENT_SPECIAL
This commit is contained in:
parent
99fc0c13cd
commit
b654533bf6
2 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue