diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-12 20:00:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-12 20:00:41 +0300 |
commit | a120f7b0d5fa084f0a32e280f922b232203fe586 (patch) | |
tree | 6a6bfb5ba3ea53d4722b7639c09b9e7330723024 /src/map | |
parent | 5b4cc7b5b9cc69cb1e2f37dfe26e24e223f6a8c3 (diff) | |
download | hercules-a120f7b0d5fa084f0a32e280f922b232203fe586.tar.gz hercules-a120f7b0d5fa084f0a32e280f922b232203fe586.tar.bz2 hercules-a120f7b0d5fa084f0a32e280f922b232203fe586.tar.xz hercules-a120f7b0d5fa084f0a32e280f922b232203fe586.zip |
Use fixed size for packet 0x25d, because it used size from other packet.
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 8cc3f0e2e..e4ff1644b 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -15254,10 +15254,10 @@ void clif_Auction_message(int fd, unsigned char flag) /// 2 = Auction ID is incorrect void clif_Auction_close(int fd, unsigned char flag) { - WFIFOHEAD(fd,packet_len(0x25e)); + WFIFOHEAD(fd, 4); WFIFOW(fd,0) = 0x25d; // BUG: The client identifies this packet as 0x25d (CZ_AUCTION_REQ_MY_SELL_STOP) WFIFOW(fd,2) = flag; - WFIFOSET(fd,packet_len(0x25e)); + WFIFOSET(fd, 4); } void clif_parse_Auction_register(int fd, struct map_session_data *sd) __attribute__((nonnull (2))); |