diff --git a/dGame/dComponents/PetComponent.h b/dGame/dComponents/PetComponent.h index f8008231..6c0b0054 100644 --- a/dGame/dComponents/PetComponent.h +++ b/dGame/dComponents/PetComponent.h @@ -114,14 +114,14 @@ public: * @param flag PetFlag(s) to check */ template - inline constexpr bool HasFlag(varArg... flag) { return (m_Flags & (static_cast(flag) | ...)) == (static_cast(flag) | ...); }; + inline const bool HasFlag(varArg... flag) { return (m_Flags & (static_cast(flag) | ...)) == (static_cast(flag) | ...); }; /** * Returns true if the pet has ONLY the specified flag(s) * @param flag PetFlag(s) to check if the pet has exclusively */ template - inline constexpr bool HasOnlyFlag(varArg... flag) { return m_Flags == (static_cast(flag) | ...); }; + inline const bool HasOnlyFlag(varArg... flag) { return m_Flags == (static_cast(flag) | ...); }; /** * Governs the pet update loop