瀏覽代碼

Fixed a messup in r11398 - option to skip brackets around item scripts was added but not used where it should have been.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11452 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage 17 年之前
父節點
當前提交
a9d1a039fb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/map/itemdb.c

+ 1 - 1
src/map/itemdb.c

@@ -938,7 +938,7 @@ static int itemdb_read_sqldb(void)
 				if( str[i] == NULL ) str[i] = dummy; // get rid of NULL columns
 				if( str[i] == NULL ) str[i] = dummy; // get rid of NULL columns
 			}
 			}
 
 
-			if (!itemdb_parse_dbrow(str, item_db_name[fi], lines, 0))
+			if (!itemdb_parse_dbrow(str, item_db_name[fi], lines, SCRIPT_IGNORE_EXTERNAL_BRACKETS))
 				continue;
 				continue;
 			++count;
 			++count;
 		}
 		}