refactor(Core/Misc): abs() to std::abs() (#9789)
This commit is contained in:
parent
fe9305c724
commit
ac99eb48e1
25 changed files with 60 additions and 60 deletions
|
|
@ -2807,7 +2807,7 @@ void Guild::_SendBankList(WorldSession* session /* = nullptr*/, uint8 tabId /*=
|
|||
itemInfo.Slot = *itr;
|
||||
itemInfo.ItemID = tabItem->GetEntry();
|
||||
itemInfo.Count = int32(tabItem->GetCount());
|
||||
itemInfo.Charges = int32(abs(tabItem->GetSpellCharges()));
|
||||
itemInfo.Charges = int32(std::abs(tabItem->GetSpellCharges()));
|
||||
itemInfo.EnchantmentID = int32(tabItem->GetEnchantmentId(PERM_ENCHANTMENT_SLOT));
|
||||
itemInfo.Flags = tabItem->GetInt32Value(ITEM_FIELD_FLAGS);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue