From 41e97ffa79cbf6439e46fa6c8481d2d0aadf0fee Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 29 Jul 2024 16:40:37 +0200 Subject: [PATCH] another smol fix to director --- src/k_director.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/k_director.c b/src/k_director.c index 326b81fe4..225bfe70e 100644 --- a/src/k_director.c +++ b/src/k_director.c @@ -375,6 +375,12 @@ void K_UpdateDirector(void) target = directorinfo.sortedplayers[targetposition]; + // stop here since we're already viewing this player + if (displayplayers[0] == target) + { + break; + } + // if we're certain the back half of the pair is actually in this position, try to switch if (*displayplayerp != target) {