diff options
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, |
