Skip to content

Commit

Permalink
Fixed SMSG_ARENA_TEAM_ROSTER structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
Woweur authored and VladimirMangos committed Jan 26, 2009
1 parent 0dc3cae commit bb64679
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game/ArenaTeam.cpp
Expand Up @@ -306,6 +306,7 @@ void ArenaTeam::Roster(WorldSession *session)

WorldPacket data(SMSG_ARENA_TEAM_ROSTER, 100);
data << uint32(GetId()); // arena team id
data << uint8(0); // unknow 3.0.8
data << uint32(GetMembersSize()); // members count
data << uint32(GetType()); // arena team type?

Expand All @@ -325,6 +326,7 @@ void ArenaTeam::Roster(WorldSession *session)
data << uint32(itr->wins_season); // wins this season
data << uint32(itr->personal_rating); // personal rating
}

session->SendPacket(&data);
sLog.outDebug("WORLD: Sent SMSG_ARENA_TEAM_ROSTER");
}
Expand Down

0 comments on commit bb64679

Please sign in to comment.