diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-08-20 20:43:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-08-22 06:33:28 +0300 |
commit | 39e50b6a4d8820635035ba691abbc9b59a420d91 (patch) | |
tree | ced5611361999d638900da28c71c420feb95bdf0 | |
parent | 759065f794b8ef7ee3e9276da1b47c1f86478cdc (diff) | |
download | hercules-39e50b6a4d8820635035ba691abbc9b59a420d91.tar.gz hercules-39e50b6a4d8820635035ba691abbc9b59a420d91.tar.bz2 hercules-39e50b6a4d8820635035ba691abbc9b59a420d91.tar.xz hercules-39e50b6a4d8820635035ba691abbc9b59a420d91.zip |
Add missing field into ZC_ACK_WHISPER02.
-rw-r--r-- | src/map/clif.c | 3 | ||||
-rw-r--r-- | src/map/packets_struct.h | 2 |
2 files changed, 3 insertions, 2 deletions
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)); |