diff --git a/src/server/game/Entities/Player/PlayerUpdates.cpp b/src/server/game/Entities/Player/PlayerUpdates.cpp index ad089bab0..309709a75 100644 --- a/src/server/game/Entities/Player/PlayerUpdates.cpp +++ b/src/server/game/Entities/Player/PlayerUpdates.cpp @@ -599,7 +599,7 @@ void Player::UpdateRating(CombatRating cr) (*i)->GetAmount())); if (amount < 0) amount = 0; - SetUInt32Value(PLAYER_FIELD_COMBAT_RATING_1 + cr, uint32(amount)); + SetUInt32Value(static_cast(PLAYER_FIELD_COMBAT_RATING_1) + static_cast(cr), uint32(amount)); bool affectStats = CanModifyStats();