mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Stable sort suicide store
This commit is contained in:
parent
11f63ce79e
commit
c2bab86d70
1 changed files with 6 additions and 6 deletions
|
|
@ -163,8 +163,8 @@ static boolean CompareRivals(player_t *a, player_t *b)
|
||||||
return (K_RivalScore(a) > K_RivalScore(b));
|
return (K_RivalScore(a) > K_RivalScore(b));
|
||||||
}
|
}
|
||||||
|
|
||||||
// They are equals, so just randomize
|
// Fuck it
|
||||||
return (P_Random(PR_BOTS) & 1);
|
return a > b;
|
||||||
}
|
}
|
||||||
|
|
||||||
void K_AssignFoes(void)
|
void K_AssignFoes(void)
|
||||||
|
|
@ -749,8 +749,8 @@ static boolean CompareJoiners(player_t *a, player_t *b)
|
||||||
return (a->spectatewait < b->spectatewait);
|
return (a->spectatewait < b->spectatewait);
|
||||||
}
|
}
|
||||||
|
|
||||||
// They are equals, so just randomize
|
// Fuck it
|
||||||
return (P_Random(PR_BOTS) & 1);
|
return a > b;
|
||||||
}
|
}
|
||||||
|
|
||||||
static boolean CompareReplacements(player_t *a, player_t *b)
|
static boolean CompareReplacements(player_t *a, player_t *b)
|
||||||
|
|
@ -767,8 +767,8 @@ static boolean CompareReplacements(player_t *a, player_t *b)
|
||||||
return (a->position < b->position);
|
return (a->position < b->position);
|
||||||
}
|
}
|
||||||
|
|
||||||
// They are equals, so just randomize
|
// Fuck it
|
||||||
return (P_Random(PR_BOTS) & 1);
|
return a > b;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*--------------------------------------------------
|
/*--------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue