summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index b7017153b..e86494cd1 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -21971,7 +21971,7 @@ static void clif_item_preview(struct map_session_data *sd, int n)
struct PACKET_ZC_ITEM_PREVIEW p;
p.packetType = itemPreview;
p.index = n + 2;
-#if PACKETVER_MAIN_NUM >= 20181017 || PACKETVER_RE_NUM >= 20181017
+#if PACKETVER_MAIN_NUM >= 20181017 || PACKETVER_RE_NUM >= 20181017 || PACKETVER_ZERO_NUM >= 20181024
p.isDamaged = (sd->status.inventory[n].attribute & ATTR_BROKEN) != 0 ? 1 : 0;
#endif
p.refiningLevel = sd->status.inventory[n].refine;