summaryrefslogtreecommitdiffhomepage
path: root/editor/wall-editor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/wall-editor.hpp')
-rw-r--r--editor/wall-editor.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/wall-editor.hpp b/editor/wall-editor.hpp
index 815b91c6..b23cab60 100644
--- a/editor/wall-editor.hpp
+++ b/editor/wall-editor.hpp
@@ -22,11 +22,11 @@ public:
wall_editor();
StringView name() const;
- enum rotation rotation() const { return _r; }
+ enum rotation rotation() const;
void set_rotation(enum rotation r);
void toggle_rotation();
- std::shared_ptr<wall_atlas> get_selected() const { return _selected_atlas; }
+ const wall_atlas* get_selected() const;
void select_atlas(const std::shared_ptr<wall_atlas>& atlas);
void clear_selection();
bool is_atlas_selected(const std::shared_ptr<wall_atlas>& atlas) const;