summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-13 14:19:08 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-13 14:19:08 +0000
commit946b17b00a5ba8e6d8ca3fe1843cd7447fdde773 (patch)
treeb7bad4ff4b1ce4d483ada06cef5ac99d70d8648b /src
parent84b3be75663fa9832f32b6de2c6da763b0a14a38 (diff)
downloadhercules-946b17b00a5ba8e6d8ca3fe1843cd7447fdde773.tar.gz
hercules-946b17b00a5ba8e6d8ca3fe1843cd7447fdde773.tar.bz2
hercules-946b17b00a5ba8e6d8ca3fe1843cd7447fdde773.tar.xz
hercules-946b17b00a5ba8e6d8ca3fe1843cd7447fdde773.zip
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11452 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/itemdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index 99e74cbbe..9d533ad70 100644
--- a/src/map/itemdb.c
+++ b/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;
}