summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/local-coords.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local-coords.hpp b/src/local-coords.hpp
index 949a90e0..30fb3617 100644
--- a/src/local-coords.hpp
+++ b/src/local-coords.hpp
@@ -6,7 +6,7 @@
namespace floormat {
struct local_coords final {
- std::uint8_t x = 0, y = 0;
+ std::uint8_t x : 4 = 0, y : 4 = 0;
explicit constexpr local_coords(std::size_t idx) noexcept;
constexpr local_coords() noexcept = default;
template<std::integral T> requires (sizeof(T) <= sizeof(std::size_t))