From d857362e3ba3e91546801bd166461966f3aa424f Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Tue, 6 Oct 2020 14:59:38 +0000 Subject: [PATCH] cmd: Apply flags to QC commands too. Fixes +showscores in Xonotic. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13004 d7cf8633-e32d-0410-b094-e92efae38249 --- cmd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd.c b/cmd.c index eca5bf3d..4a899122 100644 --- a/cmd.c +++ b/cmd.c @@ -1887,6 +1887,7 @@ void Cmd_AddCommand(int flags, const char *cmd_name, xcommand_t function, const func = (cmd_function_t *)Mem_Alloc(cmd->mempool, sizeof(cmd_function_t)); + func->flags = flags; func->name = cmd_name; func->function = function; func->description = description; -- 2.39.2