mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Lives cap 9 -> 10
This commit is contained in:
parent
9f4c080964
commit
09a6c9a086
1 changed files with 2 additions and 2 deletions
|
|
@ -548,8 +548,8 @@ void P_GivePlayerLives(player_t *player, INT32 numlives)
|
||||||
{
|
{
|
||||||
player->lives += numlives;
|
player->lives += numlives;
|
||||||
|
|
||||||
if (player->lives > 9)
|
if (player->lives > 10)
|
||||||
player->lives = 9;
|
player->lives = 10;
|
||||||
else if (player->lives < 1)
|
else if (player->lives < 1)
|
||||||
player->lives = 1;
|
player->lives = 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue