mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix invincibility item cap
It was supposed to be capped at 2 invincibility items at a time, not 3. (may consider scaling with number of players, just not for R1)
This commit is contained in:
parent
c5cfc84a8c
commit
88831ae79f
1 changed files with 1 additions and 1 deletions
|
|
@ -666,7 +666,7 @@ static INT32 K_KartGetItemOdds(UINT8 pos, SINT8 item, fixed_t mashed)
|
|||
break;
|
||||
case KITEM_INVINCIBILITY:
|
||||
POWERITEMODDS(newodds);
|
||||
if ((!cv_invincibility.value) || (pinvin > 2)) newodds = 0;
|
||||
if ((!cv_invincibility.value) || (pinvin >= 2)) newodds = 0;
|
||||
break;
|
||||
case KITEM_BANANA:
|
||||
if (!cv_banana.value) newodds = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue