Don't roll expert items in G1

This commit is contained in:
Antonio Martinez 2025-07-18 20:08:55 -04:00
parent c95add2f55
commit 043969015b

View file

@ -1152,6 +1152,10 @@ static boolean K_ShouldPlayerAllowItem(kartitems_t item, const player_t *player)
if (K_EffectiveGradingFactor(player) < K_RequiredXPForItem(item))
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);
}
}