fix(Core/Player): Use uint8 for combat rating loop index (#23956)

This commit is contained in:
Andrew
2025-11-29 06:15:56 -03:00
committed by GitHub
parent aeb892f19f
commit 8e51041885
@@ -701,7 +701,7 @@ void Player::UpdateRating(CombatRating cr)
void Player::UpdateAllRatings() void Player::UpdateAllRatings()
{ {
for (uint cr = 0; cr < MAX_COMBAT_RATING; ++cr) for (uint8 cr = 0; cr < MAX_COMBAT_RATING; ++cr)
UpdateRating(CombatRating(cr)); UpdateRating(CombatRating(cr));
} }