From 9ed242cde22cd5e2b7e1aa089262d4854a60716f Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 5 Mar 2025 10:27:09 +0100 Subject: [PATCH] where did this go? lel --- src/hu_stuff.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/hu_stuff.c b/src/hu_stuff.c index 1ca5b7099..e18f4e872 100644 --- a/src/hu_stuff.c +++ b/src/hu_stuff.c @@ -2356,6 +2356,21 @@ Ping_gfx_num (int lag) return 4; } +static int +Ping_gfx_color (int lag) +{ + if (lag < 2) + return SKINCOLOR_JAWZ; + else if (lag < 4) + return SKINCOLOR_MINT; + else if (lag < 7) + return SKINCOLOR_GOLD; + else if (lag < 10) + return SKINCOLOR_RED; + else + return SKINCOLOR_WHITE; // SKINCOLOR_MAGENTA +} + static const UINT8 * Ping_gfx_colormap (UINT32 lag, boolean gentleman) { @@ -2384,7 +2399,6 @@ Ping_conversion (UINT32 lag) return lag; } - // // HU_drawPing //