From ddaac7f586bffb63ffe8ffb6900784ebef0f5a9a Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 24 Jan 2015 21:13:34 +1100 Subject: [PATCH] Why wasn't this done in the first place, instead of blaming the compiler... --- qcsrc/client/hud.qc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 23751b275..58693cd7e 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -433,7 +433,6 @@ void HUD_Weapons(void) float fadetime = max(0, autocvar_hud_panel_weapons_complainbubble_fadetime); vector weapon_pos, weapon_size = '0 0 0'; - local noref vector max_panel_size; // fteqcc sucks vector color; // check to see if we want to continue @@ -519,7 +518,7 @@ void HUD_Weapons(void) return; } - max_panel_size = panel_size - '2 2 0' * panel_bg_padding; + vector max_panel_size = panel_size - '2 2 0' * panel_bg_padding; // calculate distribution and size of table cells if(max_panel_size_x > max_panel_size_y) -- 2.39.2