diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/light-falloff.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/light-falloff.hpp b/src/light-falloff.hpp index 3d047731..f814cc5f 100644 --- a/src/light-falloff.hpp +++ b/src/light-falloff.hpp @@ -7,7 +7,7 @@ enum class light_falloff : uint8_t { }; constexpr inline light_falloff light_falloff_COUNT{3}; -constexpr inline uint8_t light_falloff_BITS = 2; -constexpr inline uint8_t light_falloff_MASK = (1 << 2)-1; +constexpr inline uint8_t light_falloff_BITS = 3; +constexpr inline uint8_t light_falloff_MASK = (1 << light_falloff_BITS)-1; } // namespace floormat |
