mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't decay below 5 spheres (1/2 bar)
This commit is contained in:
parent
0529b740d9
commit
e8617c8893
1 changed files with 2 additions and 1 deletions
|
|
@ -8450,7 +8450,8 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
||||||
|
|
||||||
if (player->spheredigestion == 0)
|
if (player->spheredigestion == 0)
|
||||||
{
|
{
|
||||||
player->spheres--;
|
if (player->spheres > 5)
|
||||||
|
player->spheres--;
|
||||||
player->spheredigestion = spheredigestion;
|
player->spheredigestion = spheredigestion;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue