diff options
author | xazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-02-08 09:56:24 +0000 |
---|---|---|
committer | xazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-02-08 09:56:24 +0000 |
commit | 14e3a29853167baa0c6217a85380b1c293320da7 (patch) | |
tree | fd877ba388459cc167931f048dc839af2f4c1009 /src/map/itemdb.c | |
parent | a5a50d59bade8e712ab765ce2e65342f8bc6e002 (diff) | |
download | hercules-14e3a29853167baa0c6217a85380b1c293320da7.tar.gz hercules-14e3a29853167baa0c6217a85380b1c293320da7.tar.bz2 hercules-14e3a29853167baa0c6217a85380b1c293320da7.tar.xz hercules-14e3a29853167baa0c6217a85380b1c293320da7.zip |
* item_trade.txt is split into re and pre-re folder as per Kenpachi's request.
* skill_tree.txt is split into re and pre-re folder. In renewal version only level 5 spear mastery is required for spiral pierce.
* Removed an unnecessary new line on a message.
* Enabled mechanic summons in pre-re/mob_db.txt to avoid some startup error messages.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15546 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r-- | src/map/itemdb.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c index 6ea360e0c..3bb77ed34 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -1042,7 +1042,11 @@ static void itemdb_read(void) itemdb_read_itemgroup(); sv_readdb(db_path, "item_avail.txt", ',', 2, 2, -1, &itemdb_read_itemavail); sv_readdb(db_path, "item_noequip.txt", ',', 2, 2, -1, &itemdb_read_noequip); - sv_readdb(db_path, "item_trade.txt", ',', 3, 3, -1, &itemdb_read_itemtrade); +#if REMODE + sv_readdb(db_path, "re/item_trade.txt", ',', 3, 3, -1, &itemdb_read_itemtrade); +#else + sv_readdb(db_path, "pre-re/item_trade.txt", ',', 3, 3, -1, &itemdb_read_itemtrade); +#endif sv_readdb(db_path, "item_delay.txt", ',', 2, 2, MAX_ITEMDELAYS, &itemdb_read_itemdelay); sv_readdb(db_path, "item_buyingstore.txt", ',', 1, 1, -1, &itemdb_read_buyingstore); } |