diff options
| -rw-r--r-- | editor/inspect-types.cpp | 2 | ||||
| -rw-r--r-- | src/hole.hpp | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/editor/inspect-types.cpp b/editor/inspect-types.cpp index da5a8c9f..ad621cd3 100644 --- a/editor/inspect-types.cpp +++ b/editor/inspect-types.cpp @@ -155,13 +155,11 @@ template<> struct entity_accessors<hole, inspect_intent_t> E::type<uint8_t>::field{"height"_s, &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, &hole::set_z_offset, - [](const hole& x) { return x.flags.is_wall ? st::enabled : st::readonly; }, constantly(constraints::range<uint8_t>{0, tile_size_z}), }, E::type<bool>::field{ "enabled"_s, diff --git a/src/hole.hpp b/src/hole.hpp index 927c2b61..f70fac15 100644 --- a/src/hole.hpp +++ b/src/hole.hpp @@ -22,7 +22,6 @@ struct hole_proto final : object_proto bool on_render : 1 = true; bool on_physics : 1 = true; bool enabled : 1 = true; - bool is_wall : 1 = false; }; uint8_t height = 0, z_offset = tile_size_z/2; |
