REPO: code-style clean-up

* Fixed pGuild->guild
* Fixed pGroup->group
* Fixed pOwner->owner
This commit is contained in:
Bootz committed 2011-10-07 10:54:53 -05:00
1 parent f1ccb83dc0
commit 96d7a1e970
18 files changed
+172 -172

No files matched your search

+2 -2
View File
@@ -441,8 +441,8 @@ void WorldSession::LogoutPlayer(bool Save)
HandleMoveWorldportAckOpcode();
///- If the player is in a guild, update the guild roster and broadcast a logout message to other guild members
if (Guild* pGuild = sGuildMgr->GetGuildById(_player->GetGuildId()))
pGuild->HandleMemberLogout(this);
if (Guild* guild = sGuildMgr->GetGuildById(_player->GetGuildId()))
guild->HandleMemberLogout(this);
///- Remove pet
_player->RemovePet(NULL, PET_SAVE_AS_CURRENT, true);