From: bones_was_here Date: Tue, 24 Jan 2023 00:11:55 +0000 (+1000) Subject: Remove the Xonotic +showscores kludge X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2f07dbe75192ddcba6981bb2509f6f55e7d1accd;p=xonotic%2Fdarkplaces.git Remove the Xonotic +showscores kludge Fixes https://github.com/DarkPlacesEngine/darkplaces/issues/64 See also: https://gitlab.com/xonotic/xonotic-data.pk3dir/-/merge_requests/1128 and 3912e78a6047f2c45b3ff4967df7a68ad4e1b994 Signed-off-by: bones_was_here --- diff --git a/sbar.c b/sbar.c index be139633..687c9499 100644 --- a/sbar.c +++ b/sbar.c @@ -359,11 +359,8 @@ static void sbar_newmap(void) void Sbar_Init (void) { - if(gamemode == GAME_NORMAL) // Workaround so Quake doesn't trample on Xonotic. - { - Cmd_AddCommand(CF_CLIENT, "+showscores", Sbar_ShowScores_f, "show scoreboard"); - Cmd_AddCommand(CF_CLIENT, "-showscores", Sbar_DontShowScores_f, "hide scoreboard"); - } + Cmd_AddCommand(CF_CLIENT, "+showscores", Sbar_ShowScores_f, "show scoreboard"); + Cmd_AddCommand(CF_CLIENT, "-showscores", Sbar_DontShowScores_f, "hide scoreboard"); Cvar_RegisterVariable(&cl_showfps); Cvar_RegisterVariable(&cl_showsound); Cvar_RegisterVariable(&cl_showblur);