From 7032044f54ac44bab604e700ea1f76066432a2f4 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 17 Mar 2013 01:33:28 -0300 Subject: Follow up 3b89a135dcde9779bd0537cd136a7c34cfadbe3f Dropping the not-used setting from the previous implementation. http://hercules.ws/board/topic/272-re-introducing-console-input/ Signed-off-by: shennetsind --- src/map/map.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index dbe3937e8..bd0d97ece 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -157,7 +157,6 @@ char charhelp_txt[256] = "conf/charhelp.txt"; char wisp_server_name[NAME_LENGTH] = "Server"; // can be modified in char-server configuration file -int console = 0; int enable_spy = 0; //To enable/disable @spy commands, which consume too much cpu time when sending packets. [Skotlex] int enable_grf = 0; //To enable/disable reading maps from GRF files, bypassing mapcache [blackhole89] @@ -3328,11 +3327,7 @@ int map_config_read(char *cfgName) strcpy(charhelp_txt, w2); else if(strcmpi(w1,"db_path") == 0) safestrncpy(db_path,w2,255); - else if (strcmpi(w1, "console") == 0) { - console = config_switch(w2); - if (console) - ShowNotice("Console Commands are enabled.\n"); - } else if (strcmpi(w1, "enable_spy") == 0) + else if (strcmpi(w1, "enable_spy") == 0) enable_spy = config_switch(w2); else if (strcmpi(w1, "use_grf") == 0) enable_grf = config_switch(w2); @@ -3980,11 +3975,6 @@ int do_init(int argc, char *argv[]) npc_event_do_oninit(); // Init npcs (OnInit) - if( console ) - { - //##TODO invoke a CONSOLE_START plugin event - } - if (battle_config.pk_mode) ShowNotice("Server is running on '"CL_WHITE"PK Mode"CL_RESET"'.\n"); -- cgit v1.2.3-70-g09d2