From ba9ca32c5458ba52cece0006212e99fb5f6cc7e3 Mon Sep 17 00:00:00 2001 From: Sryder Date: Sun, 5 Mar 2017 19:16:38 +0000 Subject: [PATCH] Fix the items being given as if having 1 more player than there should be --- src/k_kart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/k_kart.c b/src/k_kart.c index 9e740d86..430c5739 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -803,7 +803,7 @@ static void K_KartItemRoulette(player_t *player, ticcmd_t *cmd) if (ppos < 0) ppos = 0; #define SETITEMRESULT(pos, numplayers, itemnum) \ - for (chance = K_KartItemOdds_Retro[numplayers][itemnum-1][pos]; chance; chance--) spawnchance[numchoices++] = itemnum + for (chance = K_KartItemOdds_Retro[numplayers-1][itemnum-1][pos]; chance; chance--) spawnchance[numchoices++] = itemnum // Check the game type to differentiate odds. //if (gametype == GT_RETRO)