From 3897d6cd3b72b5eb130072af8cc8d5971cd43a6d Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 18 Feb 2013 12:40:32 +0100 Subject: [PATCH] Fix font issues coming from the weapons panel --- qcsrc/client/hud.qc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 49beadb1e..77516699e 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -542,7 +542,11 @@ void HUD_Weapons(void) ++weapon_count; // might as well commit suicide now, no reason to live ;) - if (weapon_count == 0) { return; } + if (weapon_count == 0) + { + draw_endBoldFont(); + return; + } old_panel_size = panel_size; if(panel_bg_padding) @@ -667,7 +671,10 @@ void HUD_Weapons(void) HUD_Panel_DrawBg(1); if(center_x == -1) + { + draw_endBoldFont(); return; + } if(panel_bg_padding) { -- 2.39.2