mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[9358] Not use PLAYER_FIELD_ARENA_TEAM_INFO_1_1 directly.
This commit is contained in:
parent
c3bc0aedbe
commit
2151704669
7 changed files with 51 additions and 44 deletions
|
|
@ -682,7 +682,7 @@ void WorldSession::HandleBattlemasterJoinArena( WorldPacket & recv_data )
|
|||
Player *member = itr->getSource();
|
||||
|
||||
// calc avg personal rating
|
||||
avg_pers_rating += member->GetUInt32Value(PLAYER_FIELD_ARENA_TEAM_INFO_1_1 + (arenaslot * ARENA_TEAM_END) + ARENA_TEAM_PERSONAL_RATING);
|
||||
avg_pers_rating += member->GetArenaPersonalRating(arenaslot);
|
||||
}
|
||||
|
||||
if (arenatype)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue