From 015a260c6444e74579401dfe41e39592b2201d36 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 25 Aug 2014 21:29:26 +0300 Subject: Remove /quit chat command. --- src/commands.cpp | 6 ------ src/commands.h | 5 +---- 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'src') 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}, -- cgit v1.2.3-70-g09d2