summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmokexyz <sagunkho@hotmail.com>2017-04-14 01:30:22 +0800
committerGitHub <noreply@github.com>2017-04-14 01:30:22 +0800
commit123641791ee4f5eba0e02675122884e9a92b79ea (patch)
treed49b4fb5885d30a8bdee915c8bda4398e02affc8
parentec17eb3e9d03b30596c52f6777847328f543a415 (diff)
parent14288431a07b3f699e62f94a2d81b66d8779d20a (diff)
downloadhercules-123641791ee4f5eba0e02675122884e9a92b79ea.tar.gz
hercules-123641791ee4f5eba0e02675122884e9a92b79ea.tar.bz2
hercules-123641791ee4f5eba0e02675122884e9a92b79ea.tar.xz
hercules-123641791ee4f5eba0e02675122884e9a92b79ea.zip
Merge pull request #1682 from Smokexyz/1681-fix
Fixes issue #1681
-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;