mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Enforce item toggles when generating Battle monitors
This commit is contained in:
parent
7e0a8e75c8
commit
bd46bf1d28
1 changed files with 3 additions and 0 deletions
|
|
@ -8401,6 +8401,9 @@ SINT8 K_GetTotallyRandomResult(UINT8 useodds)
|
||||||
|
|
||||||
for (i = 1; i < NUMKARTRESULTS; i++)
|
for (i = 1; i < NUMKARTRESULTS; i++)
|
||||||
{
|
{
|
||||||
|
if (!K_ItemEnabled(i))
|
||||||
|
continue;
|
||||||
|
|
||||||
// Avoid calling K_FillItemRouletteData since that
|
// Avoid calling K_FillItemRouletteData since that
|
||||||
// function resets PR_ITEM_ROULETTE.
|
// function resets PR_ITEM_ROULETTE.
|
||||||
spawnchance[i] = (
|
spawnchance[i] = (
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue