Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
aa3ae955d4
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 0
      Changelog-SVN.txt
  2. 1 2
      src/map/map.c

+ 1 - 0
Changelog-SVN.txt

@@ -1,6 +1,7 @@
 Date	Added
 
 03/17
+        * Re-fixed compile error in map.c -- sorry ^^; [celest]
         * trade.c fixed possibility of STORAGE+TRADE spooffing dupe [Lupus]
 	  Now, on accepting trade your active Storage window closes. (Either Common or Guils Storage)
 		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
 		if(strcmpi(w1,"import")==0){
 			inter_config_read(w2);
-		}
 	#ifndef TXT_ONLY
-		else if(strcmpi(w1,"item_db_db")==0){
+		} else if(strcmpi(w1,"item_db_db")==0){
 			strcpy(item_db_db,w2);
 		} else if(strcmpi(w1,"mob_db_db")==0){
 			strcpy(mob_db_db,w2);