mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-04 16:02:48 +00:00
Don't roll expert items in G1
This commit is contained in:
parent
c95add2f55
commit
043969015b
1 changed files with 4 additions and 0 deletions
|
|
@ -1152,6 +1152,10 @@ static boolean K_ShouldPlayerAllowItem(kartitems_t item, const player_t *player)
|
||||||
if (K_EffectiveGradingFactor(player) < K_RequiredXPForItem(item))
|
if (K_EffectiveGradingFactor(player) < K_RequiredXPForItem(item))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
// Expert items are G2+ only, no Top in Relaxed!
|
||||||
|
if (K_RequiredXPForItem(item) >= FRACUNIT && gamespeed == KARTSPEED_EASY)
|
||||||
|
return false;
|
||||||
|
|
||||||
return !K_IsItemFirstOnly(item);
|
return !K_IsItemFirstOnly(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue