mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
fix(Core/Player): Use uint8 for combat rating loop index (#23956)
This commit is contained in:
@@ -701,7 +701,7 @@ void Player::UpdateRating(CombatRating cr)
|
||||
|
||||
void Player::UpdateAllRatings()
|
||||
{
|
||||
for (uint cr = 0; cr < MAX_COMBAT_RATING; ++cr)
|
||||
for (uint8 cr = 0; cr < MAX_COMBAT_RATING; ++cr)
|
||||
UpdateRating(CombatRating(cr));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user