From 7891954d9767df4fc4ecf1c44830ca9c18a34e10 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Aug 2014 16:36:30 +0300 Subject: Move chat command /gm into actions. --- src/commands.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/commands.h') diff --git a/src/commands.h b/src/commands.h index 553b97ba4..caace74f4 100644 --- a/src/commands.h +++ b/src/commands.h @@ -52,7 +52,6 @@ struct CommandInfo final namespace Commands { decHandler(hack); - decHandler(gm); decHandler(debugSpawn); void replaceVars(std::string &str); @@ -60,15 +59,13 @@ namespace Commands enum { - COMMAND_GM = 0, - COMMAND_HACK, + COMMAND_HACK = 0, COMMAND_DEBUGSPAWN, END_COMMANDS }; static const CommandInfo commands[] = { - {"gm", &Commands::gm, -1, true}, {"hack", &Commands::hack, -1, true}, {"debugSpawn", &Commands::debugSpawn, -1, true} }; -- cgit v1.2.3-70-g09d2