diff options
author | David Athay <ko2fan@gmail.com> | 2008-04-01 17:13:32 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-04-01 17:13:32 +0000 |
commit | fabc9567b86e5e6a9b7b463f47869fc13e7ae33b (patch) | |
tree | ae16d0ff935b55532ccb4b33ef5ec038475d4f30 /src/net | |
parent | c95ad0a99169868a2c3169999f0498b8de391a12 (diff) | |
download | mana-client-fabc9567b86e5e6a9b7b463f47869fc13e7ae33b.tar.gz mana-client-fabc9567b86e5e6a9b7b463f47869fc13e7ae33b.tar.bz2 mana-client-fabc9567b86e5e6a9b7b463f47869fc13e7ae33b.tar.xz mana-client-fabc9567b86e5e6a9b7b463f47869fc13e7ae33b.zip |
Fixed up chat and guilds
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/guildhandler.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/guildhandler.cpp b/src/net/guildhandler.cpp index 0b36f8e4..70529121 100644 --- a/src/net/guildhandler.cpp +++ b/src/net/guildhandler.cpp @@ -140,7 +140,11 @@ void GuildHandler::handleMessage(MessageIn &msg) if (msg.readInt8() == ERRMSG_OK) { - guildWindow->removeTab(); + // Must remove tab first, as it wont find the guild + // name after its removed from the player + int guildId = msg.readInt16(); + guildWindow->removeTab(guildId); + player_node->removeGuild(guildId); } } break; } |