summaryrefslogtreecommitdiff
path: root/src/map/itemdb.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-03-09 19:00:35 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-03-09 19:00:35 +0000
commit168677929dc43930a81a49a54d748a3b2298a811 (patch)
tree8eb547e2537ea19df6ad193d66411db939d36827 /src/map/itemdb.c
parent5cca96bf950bcd9586ab04f0e0f2b5d9a556c5e0 (diff)
downloadhercules-168677929dc43930a81a49a54d748a3b2298a811.tar.gz
hercules-168677929dc43930a81a49a54d748a3b2298a811.tar.bz2
hercules-168677929dc43930a81a49a54d748a3b2298a811.tar.xz
hercules-168677929dc43930a81a49a54d748a3b2298a811.zip
* Fixed some missing/wrong bits in merge from trunk (follow up to r14740).
- Fixed added files not being svn-copied (thus lacking svn history). - Applied missing property changes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14741 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r--src/map/itemdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index 92fe757c8..e8afebdfe 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -703,6 +703,7 @@ static bool itemdb_read_stack(char* fields[], int columns, int current)
return true;
}
+
/// Reads items allowed to be sold in buying stores
static bool itemdb_read_buyingstore(char* fields[], int columns, int current)
{// <nameid>
@@ -1045,8 +1046,8 @@ static void itemdb_read(void)
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);
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);
sv_readdb(db_path, "item_stack.txt", ',', 3, 3, -1, &itemdb_read_stack);
+ sv_readdb(db_path, "item_buyingstore.txt", ',', 1, 1, -1, &itemdb_read_buyingstore);
}
/*==========================================