diff --git a/source/common/utility/m_fixed.h b/source/common/utility/m_fixed.h index 3bdd055f0..b765f997a 100644 --- a/source/common/utility/m_fixed.h +++ b/source/common/utility/m_fixed.h @@ -68,7 +68,7 @@ inline constexpr int32_t FixedToInt(fixed_t f) return (f + FRACUNIT/2) >> FRACBITS; } -inline constexpr unsigned FloatToAngle(double f) +inline unsigned FloatToAngle(double f) { return xs_CRoundToInt((f)* (0x40000000 / 90.)); }