From: terencehill Date: Wed, 20 Mar 2019 19:16:50 +0000 (+0100) Subject: Remove useless scoreboard_showaccuracy global X-Git-Tag: xonotic-v0.8.5~1571 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=87afc6044aa650305e8c1c6c424ce08f661c18e8;p=xonotic%2Fxonotic-data.pk3dir.git Remove useless scoreboard_showaccuracy global --- diff --git a/qcsrc/client/commands/cl_cmd.qc b/qcsrc/client/commands/cl_cmd.qc index c4b1ec041..567096420 100644 --- a/qcsrc/client/commands/cl_cmd.qc +++ b/qcsrc/client/commands/cl_cmd.qc @@ -565,11 +565,12 @@ void GameCommand(string command) // These functions are here specifically to add special + - commands to the game, and are not really normal commands. // Please add client commands to the function above this, as this is only for special reasons. +// NOTE: showaccuracy is kept as legacy command #define CONSOLE_COMMANDS_NORMAL() \ CONSOLE_COMMAND("+showscores", { scoreboard_showscores = true; }) \ CONSOLE_COMMAND("-showscores", { scoreboard_showscores = false; }) \ - CONSOLE_COMMAND("+showaccuracy", { scoreboard_showaccuracy = true; }) \ - CONSOLE_COMMAND("-showaccuracy", { scoreboard_showaccuracy = false; }) \ + CONSOLE_COMMAND("+showaccuracy", { }) \ + CONSOLE_COMMAND("-showaccuracy", { }) \ /* nothing */ #define CONSOLE_COMMANDS_MOVEMENT() \ diff --git a/qcsrc/client/defs.qh b/qcsrc/client/defs.qh index 5204e8f36..1fa2fd42b 100644 --- a/qcsrc/client/defs.qh +++ b/qcsrc/client/defs.qh @@ -3,7 +3,6 @@ // Additional OPTIONAL Fields and Globals //float intermission; float scoreboard_showscores; -float scoreboard_showaccuracy; .string message; .float renderflags; // float coop;