summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorSmokexyz <sagunkho@hotmail.com>2017-04-16 14:15:19 +0800
committerSmokexyz <sagunkho@hotmail.com>2017-04-16 14:15:19 +0800
commit0aa15b4510384bbbf0392399bf1f97fd547c03fb (patch)
treee94da6fdfe9f181feb7fddabf749f041cdbfe68e /src/map/clif.c
parentbeee443a71f7049956df6641fe84a75b9a4ec991 (diff)
downloadhercules-0aa15b4510384bbbf0392399bf1f97fd547c03fb.tar.gz
hercules-0aa15b4510384bbbf0392399bf1f97fd547c03fb.tar.bz2
hercules-0aa15b4510384bbbf0392399bf1f97fd547c03fb.tar.xz
hercules-0aa15b4510384bbbf0392399bf1f97fd547c03fb.zip
Fix issue #1685
Where the item in a vending list would display incorrect option information.
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 8de18da30..8d4c63d26 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -6417,7 +6417,7 @@ void clif_openvending(struct map_session_data* sd, int id, struct s_vending* ven
WFIFOB(fd,21+i*item_length) = sd->status.cart[index].refine;
clif->addcards(WFIFOP(fd,22+i*item_length), &sd->status.cart[index]);
#if PACKETVER >= 20150226
- clif->add_item_options(WFIFOP(fd,30+22+i*item_length), &sd->status.cart[index]);
+ clif->add_item_options(WFIFOP(fd,30+i*item_length), &sd->status.cart[index]);
#endif
}
WFIFOSET(fd,WFIFOW(fd,2));