Core/Spells: use std::floor instead of floor

This commit is contained in:
Ovahlord
2019-07-30 16:55:17 +02:00
parent 052b431ea2
commit c0f6aec8ac

View File

@@ -579,7 +579,7 @@ int32 SpellEffectInfo::CalcValue(Unit const* caster, int32 const* bp, Unit const
}
}
return uint32(floor(value + 0.5f));
return uint32(std::floor(value + 0.5f));
}
int32 SpellEffectInfo::CalcBaseValue(int32 value) const