Core/Battlegrounds: Refactoring some pointless parameters

This commit is contained in:
leak
2011-02-09 16:47:47 +01:00
parent 4a55030f38
commit 422cfec07d
3 changed files with 19 additions and 18 deletions
+3 -3
View File
@@ -16357,8 +16357,8 @@ bool Player::LoadFromDB(uint32 guid, SQLQueryHolder *holder)
m_bgData.bgTypeID = currentBg->GetTypeID(true);
//join player to battleground group
currentBg->EventPlayerLoggedIn(this, GetGUID());
currentBg->AddOrSetPlayerToCorrectBgGroup(this, GetGUID(), m_bgData.bgTeam);
currentBg->EventPlayerLoggedIn(this);
currentBg->AddOrSetPlayerToCorrectBgGroup(this, m_bgData.bgTeam);
SetInviteForBattlegroundQueueType(bgQueueTypeId,currentBg->GetInstanceID());
}
@@ -24555,4 +24555,4 @@ void Player::SendClearFocus(Unit* target)
WorldPacket data(SMSG_BREAK_TARGET, target->GetPackGUID().size());
data.append(target->GetPackGUID());
GetSession()->SendPacket(&data);
}
}