mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-09 00:12:56 +00:00
Fix replacement bot in last place keeping negative points from previous bot
This commit is contained in:
parent
6fa09928c8
commit
6182b83518
1 changed files with 3 additions and 1 deletions
|
|
@ -295,7 +295,9 @@ static void Y_CalculateMatchData(UINT8 rankingsmode, void (*comparison)(INT32))
|
|||
{
|
||||
UINT8 pointgetters = numplayersingame + spectateGriefed;
|
||||
|
||||
if (data.pos[data.numplayers] <= pointgetters)
|
||||
// accept players that nocontest, but not bots
|
||||
if (data.pos[data.numplayers] <= pointgetters &&
|
||||
!((players[i].pflags & PF_NOCONTEST) && players[i].bot))
|
||||
{
|
||||
data.increase[i] = K_CalculateGPRankPoints((&players[i])->exp, data.pos[data.numplayers], pointgetters);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue