diff --git a/include/dusk/settings.h b/include/dusk/settings.h index 53717e052e..8954c84574 100644 --- a/include/dusk/settings.h +++ b/include/dusk/settings.h @@ -57,7 +57,7 @@ enum class MagicArmorMode : u8 { DOUBLE_DEFENSE = 2, INVINCIBLE = 3, COSMETIC = 4, -} +}; namespace config { template <> @@ -102,6 +102,7 @@ struct ConfigEnumRange { static constexpr auto max = MenuScaling::Dusklight; }; +template <> struct ConfigEnumRange { static constexpr auto min = MagicArmorMode::NORMAL; static constexpr auto max = MagicArmorMode::COSMETIC;