[11350] Revert "[11349] Instead group online players use arena team full list for claculate avg. personal rating."

This reverts commit aae93a675ca4dc4a936a1f90ad4a67f91161f697.
This commit is contained in:
VladimirMangos 2011-04-14 14:54:36 +04:00
parent ea1076899b
commit 0912c17cee
4 changed files with 12 additions and 12 deletions

View file

@ -540,15 +540,6 @@ bool ArenaTeam::HaveMember(ObjectGuid guid) const
return false;
}
uint32 ArenaTeam::GetAvgPersonalRating() const
{
uint32 rating = 0;
for(MemberList::const_iterator itr = m_members.begin(); itr != m_members.end(); ++itr)
rating += itr->personal_rating;
return rating / m_Type;
}
uint32 ArenaTeam::GetPoints(uint32 MemberRating)
{
// returns how many points would be awarded with this team type with this rating