]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sbar.c
Remove the Xonotic +showscores kludge
[xonotic/darkplaces.git] / sbar.c
diff --git a/sbar.c b/sbar.c
index be13963350a42847b088fb9afd0c7aa9427a8ea9..687c9499bd23dc0909f05237e48ffa5e18b641dd 100644 (file)
--- 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);