From 4ed78b658e8888d30bf430095028f7a544bb412f Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 20 Dec 2010 22:56:29 +0100 Subject: [PATCH] Remove old and completely useless code --- qcsrc/client/hud.qc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 628c4dc81..2590a9a65 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -520,12 +520,6 @@ void HUD_Panel_DrawHighlight(vector pos, vector mySize, vector color, float alph // Weapon icons (#0) // -float weaponspace[10]; -#define HUD_Weapons_Clear()\ - float idx;\ - for(idx = 0; idx < 10; ++idx)\ - weaponspace[idx] = 0 - entity weaponorder[WEP_MAXCOUNT]; void weaponorder_swap(float i, float j, entity pass) { @@ -728,8 +722,6 @@ void HUD_Weapons(void) else wpnalpha = panel_fg_alpha; - HUD_Weapons_Clear(); - float rows, columns; float aspect = autocvar_hud_panel_weapons_aspect; rows = panel_size_y/panel_size_x; -- 2.39.2