Browse Source

Re-fixed compile error in map.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1240 54d463be-8e91-2dee-dedb-b68131a5f0ec
celest 20 years ago
parent
commit
aa3ae955d4
2 changed files with 2 additions and 2 deletions
  1. 1 0
      Changelog-SVN.txt
  2. 1 2
      src/map/map.c

+ 1 - 0
Changelog-SVN.txt

@@ -1,6 +1,7 @@
 Date	Added
 Date	Added
 
 
 03/17
 03/17
+        * Re-fixed compile error in map.c -- sorry ^^; [celest]
         * trade.c fixed possibility of STORAGE+TRADE spooffing dupe [Lupus]
         * trade.c fixed possibility of STORAGE+TRADE spooffing dupe [Lupus]
 	  Now, on accepting trade your active Storage window closes. (Either Common or Guils Storage)
 	  Now, on accepting trade your active Storage window closes. (Either Common or Guils Storage)
 		thanx to Sergey for the exploit test and report
 		thanx to Sergey for the exploit test and report

+ 1 - 2
src/map/map.c

@@ -2899,9 +2899,8 @@ int inter_config_read(char *cfgName)
 		//support the import command, just like any other config
 		//support the import command, just like any other config
 		if(strcmpi(w1,"import")==0){
 		if(strcmpi(w1,"import")==0){
 			inter_config_read(w2);
 			inter_config_read(w2);
-		}
 	#ifndef TXT_ONLY
 	#ifndef TXT_ONLY
-		else if(strcmpi(w1,"item_db_db")==0){
+		} else if(strcmpi(w1,"item_db_db")==0){
 			strcpy(item_db_db,w2);
 			strcpy(item_db_db,w2);
 		} else if(strcmpi(w1,"mob_db_db")==0){
 		} else if(strcmpi(w1,"mob_db_db")==0){
 			strcpy(mob_db_db,w2);
 			strcpy(mob_db_db,w2);