Core/Game: Code style again.

Signed-off-by: Gyx <[email protected]>
This commit is contained in:
Gyx
2012-03-28 20:00:29 +08:00
parent 72cdcbfced
commit 1544b208da
20 changed files with 233 additions and 137 deletions
+3 -2
View File
@@ -248,8 +248,9 @@ void WorldSession::HandleGroupDeclineOpcode(WorldPacket & /*recv_data*/)
{
sLog->outDebug(LOG_FILTER_NETWORKIO, "WORLD: Received CMSG_GROUP_DECLINE");
Group *group = GetPlayer()->GetGroupInvite();
if (!group) return;
Group* group = GetPlayer()->GetGroupInvite();
if (!group)
return;
// Remember leader if online (group pointer will be invalid if group gets disbanded)
Player* leader = ObjectAccessor::FindPlayer(group->GetLeaderGUID());