diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-04-25 02:09:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-05-05 22:22:06 +0300 |
commit | 7a95d8dfe44a37759dab2bef67c65ef5f1786ff4 (patch) | |
tree | 64b8fe0d78760d026932c1be129b4bb67ff578fd /src/map | |
parent | 88221a48d2829d0124a8534bd3ac964a9ea9c3b7 (diff) | |
download | hercules-7a95d8dfe44a37759dab2bef67c65ef5f1786ff4.tar.gz hercules-7a95d8dfe44a37759dab2bef67c65ef5f1786ff4.tar.bz2 hercules-7a95d8dfe44a37759dab2bef67c65ef5f1786ff4.tar.xz hercules-7a95d8dfe44a37759dab2bef67c65ef5f1786ff4.zip |
Add char_id into struct guild_expulsion
Also use char_id in packet ZC_BAN_LIST.
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/clif.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index a7bcc5801..336bbb752 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -8405,6 +8405,7 @@ static void clif_guild_expulsion(struct map_session_data *sd, const char *name, #endif safestrncpy(&p.reason[0], mes, 40); +// version unconfirmed #if PACKETVER < 20100803 memset(&p.account_name, 0, NAME_LENGTH); // account name (not used for security reasons) #endif @@ -8437,7 +8438,7 @@ static void clif_guild_expulsionlist(struct map_session_data *sd) if (e->account_id > 0) { #if PACKETVER_MAIN_NUM >= 20161019 || PACKETVER_RE_NUM >= 20160921 || defined(PACKETVER_ZERO) - packet->chars[c].char_id = 0; // for now char_id unknown [4144] + packet->chars[c].char_id = e->char_id; // version unconfirmed #elif PACKETVER >= 20100803 memcpy(packet->chars[c].char_name, e->name, NAME_LENGTH); |