From 39e50b6a4d8820635035ba691abbc9b59a420d91 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 20 Aug 2018 20:43:18 +0300 Subject: Add missing field into ZC_ACK_WHISPER02. --- src/map/clif.c | 3 ++- src/map/packets_struct.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/map/clif.c b/src/map/clif.c index e04132386..1c8f51856 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -6180,6 +6180,7 @@ static void clif_wis_message(int fd, const char *nick, const char *mes, int mes_ /// 1 = target character is not logged in /// 2 = ignored by target /// 3 = everyone ignored by target +/// other = target character is not logged in static void clif_wis_end(int fd, int flag) { struct map_session_data *sd = sockt->session_is_valid(fd) ? sockt->session[fd]->session_data : NULL; @@ -6191,7 +6192,7 @@ static void clif_wis_end(int fd, int flag) p.PacketType = wisendType; p.result = (char)flag; #if PACKETVER >= 20131223 - p.unknown = 0; + p.AID = sd->bl.id; #endif clif->send(&p, sizeof(p), &sd->bl, SELF); diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index d6885a696..a92bc52ab 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -1358,7 +1358,7 @@ struct packet_wis_end { int16 PacketType; int8 result; #if PACKETVER >= 20131223 - uint32 unknown;/* maybe AID, not sure what for (works sending as 0) */ + uint32 AID; #endif } __attribute__((packed)); -- cgit v1.2.3-70-g09d2