From 3e6d1d4c60d513f1993d03da04b10bccdc939282 Mon Sep 17 00:00:00 2001 From: AJ Martinez Date: Thu, 20 Jan 2022 16:00:51 -0600 Subject: [PATCH] clarify potential footgunnery in K_UpdateDirector --- src/k_director.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/k_director.c b/src/k_director.c index 4603beb31..947e73cc3 100644 --- a/src/k_director.c +++ b/src/k_director.c @@ -239,6 +239,8 @@ void K_UpdateDirector(void) } // 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++) { INT32 target;