summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-12 20:00:41 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-12 20:00:41 +0300
commita120f7b0d5fa084f0a32e280f922b232203fe586 (patch)
tree6a6bfb5ba3ea53d4722b7639c09b9e7330723024
parent5b4cc7b5b9cc69cb1e2f37dfe26e24e223f6a8c3 (diff)
downloadhercules-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.
-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 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)));