6 -> 2, void the now unused parameter

This commit is contained in:
Sally Coolatta 2020-09-11 12:14:08 -04:00
parent 2f2e2200f4
commit 9ccaaafabd

View file

@ -666,7 +666,7 @@ static INT32 K_KartItemOddsRace[NUMKARTRESULTS][10] =
/*Jawz x2*/ { 0, 0, 0, 1, 2, 0, 0, 0, 0, 0 } // Jawz x2 /*Jawz x2*/ { 0, 0, 0, 1, 2, 0, 0, 0, 0, 0 } // Jawz x2
}; };
static INT32 K_KartItemOddsBattle[NUMKARTRESULTS][6] = static INT32 K_KartItemOddsBattle[NUMKARTRESULTS][2] =
{ {
//P-Odds 0 1 //P-Odds 0 1
/*Sneaker*/ { 2, 1 }, // Sneaker /*Sneaker*/ { 2, 1 }, // Sneaker
@ -923,6 +923,9 @@ static INT32 K_FindUseodds(player_t *player, fixed_t mashed, INT32 pingame, INT3
UINT8 distlen = 0; UINT8 distlen = 0;
boolean oddsvalid[10]; boolean oddsvalid[10];
// Unused now, oops :V
(void)bestbumper;
for (i = 0; i < 10; i++) for (i = 0; i < 10; i++)
{ {
INT32 j; INT32 j;