summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-30 23:12:06 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-30 23:12:06 +0300
commit6bedbd1724e575a152250eeda7988423d01680ba (patch)
tree69770d42c82e5b13b2e4fb08ea3b5cce46763346 /src/commands.h
parent1680d159ecbf75591d2dab1416ff8144c27d4de5 (diff)
downloadmanaverse-6bedbd1724e575a152250eeda7988423d01680ba.tar.gz
manaverse-6bedbd1724e575a152250eeda7988423d01680ba.tar.bz2
manaverse-6bedbd1724e575a152250eeda7988423d01680ba.tar.xz
manaverse-6bedbd1724e575a152250eeda7988423d01680ba.zip
Add chat command for spawn debug local player copy.
New chat command: /debugSpawn
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/commands.h b/src/commands.h
index bdf4f76c4..824ab089d 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -137,6 +137,7 @@ namespace Commands
decHandler(uploadServerConfig);
decHandler(uploadLog);
decHandler(gm);
+ decHandler(debugSpawn);
void replaceVars(std::string &str);
} // namespace Commands
@@ -240,6 +241,7 @@ enum
COMMAND_UPLOADLOG,
COMMAND_GM,
COMMAND_HACK,
+ COMMAND_DEBUGSPAWN,
END_COMMANDS
};
@@ -341,7 +343,8 @@ static const CommandInfo commands[] =
{"uploadserverconfig", &Commands::uploadServerConfig, -1, false},
{"uploadlog", &Commands::uploadLog, -1, false},
{"gm", &Commands::gm, -1, true},
- {"hack", &Commands::hack, -1, true}
+ {"hack", &Commands::hack, -1, true},
+ {"debugSpawn", &Commands::debugSpawn, -1, false}
};
#undef decHandler