mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 01:59:09 +00:00
refactor(Core/Misc): fabs() to std::fabs() (#9790)
- prefer std functions over C functions
This commit is contained in:
@@ -1887,7 +1887,7 @@ void Player::Regenerate(Powers power)
|
||||
return;
|
||||
|
||||
addvalue += m_powerFraction[power];
|
||||
uint32 integerValue = uint32(fabs(addvalue));
|
||||
uint32 integerValue = uint32(std::fabs(addvalue));
|
||||
|
||||
if (addvalue < 0.0f)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user