summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-11-02 04:41:22 +0300
committerAndrei Karas <akaras@inbox.ru>2016-11-03 17:12:48 +0300
commit84675f75d60f807ebbe932d7c591c8b1d59cfaf1 (patch)
tree8fe1cc02e0d68ceab016f29e3463f0749e89792e /src/map/clif.c
parent6a8ac00d930e726181800d93b59ad8c513727aea (diff)
downloadhercules-84675f75d60f807ebbe932d7c591c8b1d59cfaf1.tar.gz
hercules-84675f75d60f807ebbe932d7c591c8b1d59cfaf1.tar.bz2
hercules-84675f75d60f807ebbe932d7c591c8b1d59cfaf1.tar.xz
hercules-84675f75d60f807ebbe932d7c591c8b1d59cfaf1.zip
Fix version for packet 0x0a28 ZC_ACK_OPENSTORE2
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 424d94205..beec3c008 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -6418,12 +6418,12 @@ void clif_openvending(struct map_session_data* sd, int id, struct s_vending* ven
}
WFIFOSET(fd,WFIFOW(fd,2));
-#if PACKETVER >= 20141022
+#if PACKETVER >= 20140625
/** should go elsewhere perhaps? it has to be bundled with this however. **/
- WFIFOHEAD(fd, 3);
+ WFIFOHEAD(fd, packet_len(0xa28));
WFIFOW(fd, 0) = 0xa28;
WFIFOB(fd, 2) = 0;/** 1 is failure. our current responses to failure are working so not yet implemented **/
- WFIFOSET(fd, 3);
+ WFIFOSET(fd, packet_len(0xa28));
#endif
}