diff options
| author | n0n4m3 <none@none> | 2010-04-11 11:06:51 +0400 |
|---|---|---|
| committer | n0n4m3 <none@none> | 2010-04-11 11:06:51 +0400 |
| commit | 93f7e2796c62f8838764ed9f0a33b40f8c30433a (patch) | |
| tree | 0421cc7acdddc5e929826ab2d6370eef42af07c2 /src/game/WorldSession.cpp | |
| parent | 1dc4f7c745f9f061a545c11c0132a67e5f828702 (diff) | |
Some fixes to guild/arenateam events. Big thx to TOM_RUS.
--HG--
branch : trunk
Diffstat (limited to 'src/game/WorldSession.cpp')
| -rw-r--r-- | src/game/WorldSession.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/game/WorldSession.cpp b/src/game/WorldSession.cpp index b51170f117b..5decb5d9ecd 100644 --- a/src/game/WorldSession.cpp +++ b/src/game/WorldSession.cpp @@ -391,12 +391,7 @@ void WorldSession::LogoutPlayer(bool Save) guild->SetMemberStats(_player->GetGUID()); guild->UpdateLogoutTime(_player->GetGUID()); - WorldPacket data(SMSG_GUILD_EVENT, (1+1+12+8)); // name limited to 12 in character table. - data<<(uint8)GE_SIGNED_OFF; - data<<(uint8)1; - data<<_player->GetName(); - data<<_player->GetGUID(); - guild->BroadcastPacket(&data); + guild->BroadcastEvent(GE_SIGNED_OFF, _player->GetGUID(), 1, _player->GetName(), "", ""); } ///- Remove pet |
