diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-19 19:41:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-19 19:41:28 +0300 |
commit | b5398a7046123e8cc13ebe7da8fb7ccc80885c7d (patch) | |
tree | 212247fe57b34347bfb62bb68f4a2c3f4db1b3a3 /src | |
parent | 23c48689e73acc52dfd2b6e0e62105ddbd3fd30e (diff) | |
download | plus-b5398a7046123e8cc13ebe7da8fb7ccc80885c7d.tar.gz plus-b5398a7046123e8cc13ebe7da8fb7ccc80885c7d.tar.bz2 plus-b5398a7046123e8cc13ebe7da8fb7ccc80885c7d.tar.xz plus-b5398a7046123e8cc13ebe7da8fb7ccc80885c7d.zip |
Fix removing local player from guild.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/ea/guildrecv.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/ea/guildrecv.cpp b/src/net/ea/guildrecv.cpp index cb8b9394d..c6eac245d 100644 --- a/src/net/ea/guildrecv.cpp +++ b/src/net/ea/guildrecv.cpp @@ -406,6 +406,7 @@ void GuildRecv::processGuildLeave(Net::MessageIn &msg) { taGuild->removeFromMembers(); taGuild->clearMembers(); + localPlayer->removeGuild(taGuild->getId()); } NotifyManager::notify(NotifyTypes::GUILD_LEFT); delete2(guildTab) |