]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove g_instagib, it's useless now
authorterencehill <piuntn@gmail.com>
Mon, 3 Aug 2015 13:58:42 +0000 (15:58 +0200)
committerterencehill <piuntn@gmail.com>
Mon, 3 Aug 2015 13:58:42 +0000 (15:58 +0200)
qcsrc/client/scoreboard.qc

index acc145aa8b83d64f6568df5304399ed6321a07db..b6d2db25c2e90086e9ba9dedf7f410f52382d629 100644 (file)
@@ -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