From acbcdedfa020a3760768d04a793a8bb9806d2a6f Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 2 May 2025 10:29:25 +0200 Subject: [PATCH] fix conlict --- src/hu_stuff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hu_stuff.c b/src/hu_stuff.c index 423912b12..f678cdfce 100644 --- a/src/hu_stuff.c +++ b/src/hu_stuff.c @@ -1877,14 +1877,14 @@ static void HU_DrawChat(void) // Find longest player name, for drawing background for /pm list later for (i = 0; i < MAXPLAYERS; i++) { - if (!playeringame[i]) continue; + if (!players[i].ingame) continue; longest_name_length = max(longest_name_length, strlen(player_names[i])); } for(i = 0; i < MAXPLAYERS; i++) { - if (!playeringame[i]) + if (!players[i].ingame) continue; // filter: (code needs optimization pls help I'm bad with C)