From f3a61b43d786704521c1da1fd826ca0a9b87a9c2 Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Wed, 24 Oct 2018 19:38:46 -0400 Subject: [PATCH] Wrong variable --- src/y_inter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/y_inter.c b/src/y_inter.c index c3c4b5dd..9361dbe3 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -275,7 +275,7 @@ static void Y_CalculateMatchData(UINT8 rankingsmode, void (*comparison)(INT32)) for (j = 0; j < numplayersingame; j++) { - INT32 nump = ((G_RaceGametype() && nospectategrief > 0) ? nospectategrief : data.match.numplayers); + INT32 nump = ((G_RaceGametype() && nospectategrief > 0) ? nospectategrief : numplayersingame); for (i = 0; i < MAXPLAYERS; i++) {