summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-25 21:29:26 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-25 21:29:43 +0300
commit015a260c6444e74579401dfe41e39592b2201d36 (patch)
treed20f55b2355ff8b450c5cc6993970a2e7c99756d /src
parentb030143a03ab3d65225f8c2351469b2e8daa0e94 (diff)
downloadManaVerse-015a260c6444e74579401dfe41e39592b2201d36.tar.gz
ManaVerse-015a260c6444e74579401dfe41e39592b2201d36.tar.bz2
ManaVerse-015a260c6444e74579401dfe41e39592b2201d36.tar.xz
ManaVerse-015a260c6444e74579401dfe41e39592b2201d36.zip
Remove /quit chat command.
Diffstat (limited to 'src')
-rw-r--r--src/commands.cpp6
-rw-r--r--src/commands.h5
2 files changed, 1 insertions, 10 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index dbe27e8be..01639ebbd 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -251,12 +251,6 @@ static void outStringNormal(ChatTab *const tab,
}
}
-impHandler0(quit)
-{
-// quit();
- return false;
-}
-
impHandler0(showAll)
{
if (actorManager)
diff --git a/src/commands.h b/src/commands.h
index 14923761f..6ca88553b 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -51,7 +51,6 @@ struct CommandInfo final
namespace Commands
{
- decHandler(quit);
decHandler(showAll);
decHandler(move);
decHandler(target);
@@ -118,8 +117,7 @@ namespace Commands
enum
{
- COMMAND_QUIT = 0,
- COMMAND_ALL,
+ COMMAND_ALL = 0,
COMMAND_MOVE,
COMMAND_TARGET,
COMMAND_ATKHUMAN,
@@ -185,7 +183,6 @@ enum
static const CommandInfo commands[] =
{
- {"quit", &Commands::quit, -1, false},
{"all", &Commands::showAll, -1, false},
{"move", &Commands::move, -1, true},
{"target", &Commands::target, -1, true},