From: terencehill Date: Sun, 21 Nov 2010 21:07:09 +0000 (+0100) Subject: Remove unneeded code and vars of the radar panel X-Git-Tag: xonotic-v0.5.0~395 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3c63e14465c48e5418dfc211616a4b6a3393a021;p=xonotic%2Fxonotic-data.pk3dir.git Remove unneeded code and vars of the radar panel --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index e89205235..32493f9d7 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -3446,8 +3446,7 @@ void HUD_Radar(void) mySize -= '2 2 0' * panel_bg_padding; } - local float color1, color2; // color already declared as a global in hud.qc - local vector rgb; + local float color2; local entity tm; float scale2d, normalsize, bigsize; float f; @@ -3527,9 +3526,6 @@ void HUD_Radar(void) f * (mi_min + mi_max) * 0.5 + (1 - f) * view_origin); - color1 = GetPlayerColor(player_localentnum-1); - rgb = GetTeamRGB(color1); - drawsetcliparea( pos_x, pos_y,