From: Mario Date: Sat, 24 Jan 2015 10:13:34 +0000 (+1100) Subject: Why wasn't this done in the first place, instead of blaming the compiler... X-Git-Tag: xonotic-v0.8.1~133^2~45 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ddaac7f586bffb63ffe8ffb6900784ebef0f5a9a;p=xonotic%2Fxonotic-data.pk3dir.git Why wasn't this done in the first place, instead of blaming the compiler... --- 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)