From d138a593a6d402c03302ee56255bde6f2bf67c04 Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 26 Mar 2025 14:54:10 +0100 Subject: [PATCH] brazil --- src/hu_stuff.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/hu_stuff.c b/src/hu_stuff.c index 1142fd637..faa46ae37 100644 --- a/src/hu_stuff.c +++ b/src/hu_stuff.c @@ -2350,7 +2350,7 @@ Ping_gfx_num (int lag) } static int -Ping_gfx_color (int lag) +Ping_gfx_color (UINT32 lag) { if (lag < 2) return SKINCOLOR_JAWZ; @@ -2360,8 +2360,17 @@ Ping_gfx_color (int lag) return SKINCOLOR_GOLD; else if (lag < 10) return SKINCOLOR_RED; + else if (lag < servermaxping) + { + if (hu_tick & 2) + return SKINCOLOR_GREEN; + else if (hu_tick & 4) + return SKINCOLOR_YELLOW; + else + return SKINCOLOR_BLUEBERRY; + } else - return SKINCOLOR_WHITE; // SKINCOLOR_MAGENTA + return SKINCOLOR_WHITE; // to make the flashing work } static const UINT8 *