From 257c2420545eb632a53c0fe3cd317be613dcb272 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 1 Mar 2023 17:23:27 +0100 Subject: editor: update bboxes from a central place --- src/scenery.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/scenery.hpp') diff --git a/src/scenery.hpp b/src/scenery.hpp index 7d2cb502..3a8fb241 100644 --- a/src/scenery.hpp +++ b/src/scenery.hpp @@ -81,6 +81,7 @@ struct scenery_ref final { scenery_ref(struct chunk& c, std::size_t i) noexcept; scenery_ref(const scenery_ref&) noexcept; scenery_ref(scenery_ref&&) noexcept; + scenery_ref& operator=(const scenery_ref&) = delete; scenery_ref& operator=(const scenery_proto& proto) noexcept; operator scenery_proto() const noexcept; @@ -95,7 +96,7 @@ struct scenery_ref final { std::shared_ptr& atlas; scenery& frame; - bool can_activate() noexcept; + bool can_activate() const noexcept; bool activate(); void update(float dt); void rotate(rotation r); -- cgit v1.2.3