mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
clarify potential footgunnery in K_UpdateDirector
This commit is contained in:
parent
410a37b47b
commit
3e6d1d4c60
1 changed files with 2 additions and 0 deletions
|
|
@ -239,6 +239,8 @@ void K_UpdateDirector(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
// aaight, time to walk through the standings to find the first interesting pair
|
// aaight, time to walk through the standings to find the first interesting pair
|
||||||
|
// NB: targetposition/sortedplayers is 0-indexed, aiming at the "back half" of a given pair by default.
|
||||||
|
// we adjust for this when comparing to player->position or when looking at the leading player, Don't Freak Out
|
||||||
for (targetposition = 1; targetposition < MAXPLAYERS; targetposition++)
|
for (targetposition = 1; targetposition < MAXPLAYERS; targetposition++)
|
||||||
{
|
{
|
||||||
INT32 target;
|
INT32 target;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue