mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Use correct check in deltapenalty case too
This commit is contained in:
parent
5b770908b0
commit
8bea6eb951
1 changed files with 2 additions and 2 deletions
|
|
@ -1029,7 +1029,7 @@ static boolean K_IsItemFirstPermitted(kartitems_t item)
|
|||
}
|
||||
}
|
||||
|
||||
static boolean K_IsItemUselessAlone(kartitems_t item)
|
||||
ATTRUNUSED static boolean K_IsItemUselessAlone(kartitems_t item)
|
||||
{
|
||||
switch (item)
|
||||
{
|
||||
|
|
@ -1641,7 +1641,7 @@ void K_FillItemRouletteData(player_t *player, itemroulette_t *const roulette, bo
|
|||
|
||||
// Conversely, if we're lonely, try not to reselect an item that wouldn't be useful to us
|
||||
// without any players to use it on.
|
||||
if (K_IsItemUselessAlone(bestitem))
|
||||
if (!K_IsItemSpeed(bestitem))
|
||||
deltapenalty = Easing_Linear(loneliness, deltapenalty, 5*deltapenalty);
|
||||
|
||||
// Draw complex odds debugger. This one breaks down all the calcs in order.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue