summaryrefslogtreecommitdiff
path: root/src/map/itemdb.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-27 11:30:53 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-27 11:30:53 +0000
commit10a009737f34ef8c1dae06ad6e555cfeb18dc854 (patch)
tree1149cd0cb58003f5f67119773a2b5845b452ce53 /src/map/itemdb.c
parent8c2ca9dd3280891eb88425dac31a0a76dc4b078f (diff)
downloadhercules-10a009737f34ef8c1dae06ad6e555cfeb18dc854.tar.gz
hercules-10a009737f34ef8c1dae06ad6e555cfeb18dc854.tar.bz2
hercules-10a009737f34ef8c1dae06ad6e555cfeb18dc854.tar.xz
hercules-10a009737f34ef8c1dae06ad6e555cfeb18dc854.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@814 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r--src/map/itemdb.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index 92afe32fb..cf6ab52d0 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -595,11 +595,8 @@ static int itemdb_read_itemslottable(void)
struct item_data* item;
sscanf(p,"%d#%d#",&nameid,&equip);
item = itemdb_search(nameid);
- if (item && itemdb_isequip2(item)) {
- if (item->equip != equip)
- printf ("%s - %d > %d\n", item->name, item->equip, equip);
+ if (item && itemdb_isequip2(item))
item->equip=equip;
- }
p=strchr(p,10);
if(!p) break;
p++;