From: terencehill Date: Mon, 3 Aug 2015 13:58:42 +0000 (+0200) Subject: Remove g_instagib, it's useless now X-Git-Tag: xonotic-v0.8.1~25^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e6073b807b1a23be6903e63645926dcd68d98394;p=xonotic%2Fxonotic-data.pk3dir.git Remove g_instagib, it's useless now --- diff --git a/qcsrc/client/scoreboard.qc b/qcsrc/client/scoreboard.qc index acc145aa8..b6d2db25c 100644 --- a/qcsrc/client/scoreboard.qc +++ b/qcsrc/client/scoreboard.qc @@ -1010,7 +1010,6 @@ vector HUD_DrawScoreboardAccuracyStats(vector pos, vector rgb, vector bg_size) float fontsize = height * 1/3; float weapon_height = height * 2/3; float weapon_width = sbwidth / columnns / rows; - bool g_instagib = false; drawstring(pos, sprintf(_("Accuracy stats (average %d%%)"), average_accuracy), hud_fontsize, '1 1 1', scoreboard_alpha_fg, DRAWFLAG_NORMAL); pos.y += 1.25 * hud_fontsize.y + autocvar_scoreboard_border_thickness; @@ -1042,9 +1041,6 @@ vector HUD_DrawScoreboardAccuracyStats(vector pos, vector rgb, vector bg_size) if(rows == 2) pos.x += weapon_width / 2; - if(switchweapon == WEP_VAPORIZER) - g_instagib = true; // TODO: real detection for instagib? - if(autocvar_scoreboard_accuracy_nocolors) rgb = '1 1 1'; else