From 354a65564f48113c78f886f9df3329abd8bfd756 Mon Sep 17 00:00:00 2001 From: brianluau Date: Sun, 29 Apr 2012 20:32:21 +0000 Subject: - Removed leftover TXT configs, follow-up to r15503. - Edited more ***_config_read() functions to show a warning if "Unknown setting" is found. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16009 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index 938f46582..cfd50137a 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -3345,11 +3345,11 @@ int map_config_read(char *cfgName) if (strcmpi(w1, "use_grf") == 0) enable_grf = config_switch(w2); else - if (strcmpi(w1, "import") == 0) - map_config_read(w2); - else if (strcmpi(w1, "console_msg_log") == 0) console_msg_log = atoi(w2);//[Ind] + else + if (strcmpi(w1, "import") == 0) + map_config_read(w2); else ShowWarning("Unknown setting '%s' in file %s\n", w1, cfgName); } -- cgit v1.2.3-70-g09d2