color ping numbers for color hud

This commit is contained in:
Alug committed 2025-02-27 19:38:11 +01:00
1 parent a406b21401
commit 94855fbaae
1 file changed
+4 -1
+4 -1
View File
@@ -2374,7 +2374,10 @@ Ping_gfx_color (int lag)
static const UINT8 *
Ping_gfx_colormap (UINT32 lag, boolean gentleman)
{
const UINT8 *colormap = R_GetTranslationColormap(TC_RAINBOW, Ping_gfx_color(lag), GTC_CACHE);
UINT8 *colormap = NULL;
if (K_UseColorHud())
colormap = R_GetTranslationColormap(TC_RAINBOW, Ping_gfx_color(lag), GTC_CACHE);
if (servermaxping && lag > servermaxping && hu_tick < 4)
{