diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-27 16:36:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-27 16:36:30 +0300 |
commit | 7891954d9767df4fc4ecf1c44830ca9c18a34e10 (patch) | |
tree | 992a91b8b90139a1fd59495ea0ad684645bfddbb /src/commands.h | |
parent | 60c983e043b9ec502b65785306887003f5bcb27b (diff) | |
download | plus-7891954d9767df4fc4ecf1c44830ca9c18a34e10.tar.gz plus-7891954d9767df4fc4ecf1c44830ca9c18a34e10.tar.bz2 plus-7891954d9767df4fc4ecf1c44830ca9c18a34e10.tar.xz plus-7891954d9767df4fc4ecf1c44830ca9c18a34e10.zip |
Move chat command /gm into actions.
Diffstat (limited to 'src/commands.h')
-rw-r--r-- | src/commands.h | 5 |
1 files changed, 1 insertions, 4 deletions
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} }; |