From 87afc6044aa650305e8c1c6c424ce08f661c18e8 Mon Sep 17 00:00:00 2001 From: terencehill Date: Wed, 20 Mar 2019 20:16:50 +0100 Subject: [PATCH] Remove useless scoreboard_showaccuracy global --- qcsrc/client/commands/cl_cmd.qc | 5 +++-- qcsrc/client/defs.qh | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.2