" - 1" on positioned players average

Consider just 1 more guy in the average, maybe helps really really small games.
This commit is contained in:
VelocitOni 2025-08-22 19:57:06 -04:00 committed by AJ Martinez
parent ddb034f056
commit 563f76638a

View file

@ -10003,7 +10003,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
if (playeringame[i] == false || players[i].spectator == true || players[i].exiting)
continue;
if (players[i].position != 1 && players[i].position >= (D_NumPlayersInRace()*3)/4) //Not in 1st, but also back quarter of the average
if (players[i].position != 1 && players[i].position >= ((D_NumPlayersInRace()*3)/4) - 1) // Not in 1st, but also back quarter of the average (-1 guy, for leeway)
{
counted++;
average += K_UndoMapScaling(players[i].distancetofinish);