mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
mess with total ring calculations
This commit is contained in:
parent
47d6fba4de
commit
9ae8628424
1 changed files with 11 additions and 8 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue