Decompile fn_21861 (CGameMode::ReceiveGuildLeave2)
Batch #17802 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_21861 CGameMode::ReceiveGuildLeave2: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
9dd7d9cb6c
commit
7d245e2719
1 changed files with 3 additions and 2 deletions
|
|
@ -7307,8 +7307,9 @@ void CGameMode::ReceiveGuildExpulsion2(const unsigned char* data) {
|
|||
void CGameMode::ReceiveGuildLeave2(const unsigned char* data) {
|
||||
const auto* packet = reinterpret_cast<const GuildMemberLeftPacket2*>(data);
|
||||
GuildInfo* guildInfo = &g_guildInfo;
|
||||
char reason[40];
|
||||
strcpy_s(reason, sizeof(reason), packet->name);
|
||||
char reason[41];
|
||||
strcpy_s(reason, 40, packet->name);
|
||||
reason[40] = '\0';
|
||||
|
||||
if (packet->characterId == g_session.m_gid) {
|
||||
ClearGuildShortcutSkills();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue