diff options
author | megamage <none@none> | 2009-06-18 11:33:32 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-06-18 11:33:32 -0500 |
commit | 9e0e4e5e4daa1e40d8dd3dcebaf4beca224a6a4f (patch) | |
tree | 6058ec805ae1d99a5a8f47e24cf0c77dc5767c61 /src/game/ArenaTeam.h | |
parent | 6b13edd6d112ad098f6f0d611aed7ecf27994d8b (diff) |
*Add debug log for modify personal rating.
--HG--
branch : trunk
Diffstat (limited to 'src/game/ArenaTeam.h')
-rw-r--r-- | src/game/ArenaTeam.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/game/ArenaTeam.h b/src/game/ArenaTeam.h index 20207a8c945..2dc5b45e880 100644 --- a/src/game/ArenaTeam.h +++ b/src/game/ArenaTeam.h @@ -99,13 +99,7 @@ struct ArenaTeamMember uint32 wins_season; uint32 personal_rating; - void ModifyPersonalRating(Player* plr, int32 mod, uint32 slot) - { - int32 rating = int32(personal_rating) + mod; - personal_rating = rating < 0 ? 0 : rating; - if(plr) - plr->SetUInt32Value(PLAYER_FIELD_ARENA_TEAM_INFO_1_1 + (slot*6) + 5, personal_rating); - } + void ModifyPersonalRating(Player* plr, int32 mod, uint32 slot); }; struct ArenaTeamStats |