Explorar el Código

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 hace 17 años
padre
commit
a9d1a039fb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 (!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;
 			++count;
 		}