summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorSmokexyz <sagunkho@hotmail.com>2017-04-14 00:48:45 +0800
committerSmokexyz <sagunkho@hotmail.com>2017-04-14 00:48:45 +0800
commit14288431a07b3f699e62f94a2d81b66d8779d20a (patch)
treed0e01c06bfdb5600f435e62c4847e10babc90ae9 /src/map/clif.c
parent7b44f8704e57ee430b1cde8b1c8c85d8961eb9d0 (diff)
downloadhercules-14288431a07b3f699e62f94a2d81b66d8779d20a.tar.gz
hercules-14288431a07b3f699e62f94a2d81b66d8779d20a.tar.bz2
hercules-14288431a07b3f699e62f94a2d81b66d8779d20a.tar.xz
hercules-14288431a07b3f699e62f94a2d81b66d8779d20a.zip
Fixes issue #1681
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 3a0b4d4c7..5939222e9 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -2569,13 +2569,13 @@ void clif_item_equip(short idx, struct EQUIPITEM_INFO *p, struct item *it, struc
p->type = itemtype(id->type);
#if PACKETVER < 20120925
- p->IsIdentified = i->identify ? 1 : 0;
+ p->IsIdentified = it->identify ? 1 : 0;
#endif
p->location = eqp_pos;
p->WearState = it->equip;
#if PACKETVER < 20120925
- p->IsDamaged = (i->attribute & ATTR_BROKEN) != 0 ? 1 : 0;
+ p->IsDamaged = (it->attribute & ATTR_BROKEN) != 0 ? 1 : 0;
#endif
p->RefiningLevel = it->refine;