From e6073b807b1a23be6903e63645926dcd68d98394 Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 3 Aug 2015 15:58:42 +0200 Subject: [PATCH] Remove g_instagib, it's useless now --- qcsrc/client/scoreboard.qc | 4 ---- 1 file changed, 4 deletions(-) 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 -- 2.39.2