diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-07-12 20:18:40 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-07-12 22:16:32 +0200 |
commit | 6de759742831d58638643ae2747e6c97a014241d (patch) | |
tree | 9d95802975545cb234fcdcfc2cb0fcef5627e02c /editor | |
parent | 45b9db00e4873eb9e019e922b919144bbc14d708 (diff) |
b
Diffstat (limited to 'editor')
-rw-r--r-- | editor/inspect-types.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/inspect-types.cpp b/editor/inspect-types.cpp index eac5140c..fba0fc7b 100644 --- a/editor/inspect-types.cpp +++ b/editor/inspect-types.cpp @@ -156,6 +156,7 @@ template<> struct entity_accessors<hole, inspect_intent_t> &hole::height, &hole::set_height, [](const hole& x) { return x.flags.is_wall ? st::enabled : st::readonly; }, + constantly(constraints::range<uint8_t>{0, tile_size_z}), }, E::type<uint8_t>::field{"z-offset"_s, &hole::z_offset, |