mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
fix(Core/PlayerUpdates): one more C++20 compile warning (#8959)
This commit is contained in:
@@ -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<uint16>(PLAYER_FIELD_COMBAT_RATING_1) + static_cast<uint16>(cr), uint32(amount));
|
||||
|
||||
bool affectStats = CanModifyStats();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user