summaryrefslogtreecommitdiffhomepage
path: root/src/pass-mode.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pass-mode.hpp')
-rw-r--r--src/pass-mode.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pass-mode.hpp b/src/pass-mode.hpp
index a60a8188..112aafcc 100644
--- a/src/pass-mode.hpp
+++ b/src/pass-mode.hpp
@@ -3,8 +3,7 @@
namespace floormat {
-enum class pass_mode : std::uint8_t { shoot_through, pass, blocked, see_through };
-constexpr inline std::uint8_t pass_mode_COUNT = std::uint8_t(pass_mode::see_through) + 1;
-static_assert(pass_mode_COUNT == 4);
+enum class pass_mode : std::uint8_t { blocked, see_through, shoot_through, pass, };
+constexpr inline std::uint8_t pass_mode_COUNT = 4;
} // namespace floormat