summaryrefslogtreecommitdiff
path: root/src/map/itemdb.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-26 23:54:44 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-26 23:54:44 +0000
commitb6164a64d5c67e7db1d375408ce7e3e48ef1f361 (patch)
treeaa9ea060572398a8d42d80b41291048ada4ad18f /src/map/itemdb.c
parent53fd71218c7c5da19c1bd3e77f7aba9add170b9f (diff)
downloadhercules-b6164a64d5c67e7db1d375408ce7e3e48ef1f361.tar.gz
hercules-b6164a64d5c67e7db1d375408ce7e3e48ef1f361.tar.bz2
hercules-b6164a64d5c67e7db1d375408ce7e3e48ef1f361.tar.xz
hercules-b6164a64d5c67e7db1d375408ce7e3e48ef1f361.zip
Cleanup
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@800 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/itemdb.c')
-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 566037c6a..ee1e95ac7 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -592,8 +592,8 @@ static int itemdb_read_itemslottable(void)
buf[s]=0;
for(p=buf;p-buf<s;){
int nameid,equip;
- sscanf(p,"%d#%d#",&nameid,&equip);
struct item_data* item = itemdb_search(nameid);
+ sscanf(p,"%d#%d#",&nameid,&equip);
if (item && itemdb_isequip2(item))
item->equip=equip;
p=strchr(p,10);