diff options
author | shennetsind <ind@henn.et> | 2013-03-17 01:33:28 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-03-17 01:33:28 -0300 |
commit | 7032044f54ac44bab604e700ea1f76066432a2f4 (patch) | |
tree | afd2bd2bc4b33c084e630dc333ccbfd3ea30e73a /src/map/map.c | |
parent | 3b89a135dcde9779bd0537cd136a7c34cfadbe3f (diff) | |
download | hercules-7032044f54ac44bab604e700ea1f76066432a2f4.tar.gz hercules-7032044f54ac44bab604e700ea1f76066432a2f4.tar.bz2 hercules-7032044f54ac44bab604e700ea1f76066432a2f4.tar.xz hercules-7032044f54ac44bab604e700ea1f76066432a2f4.zip |
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 <ind@henn.et>
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 12 |
1 files changed, 1 insertions, 11 deletions
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"); |