summaryrefslogtreecommitdiffhomepage
path: root/editor/scenery-editor.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-07-16 12:27:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-07-16 12:27:46 +0200
commit47b9691f9bde62ea62f6601503997d93ed7ab64c (patch)
treef0e08b4f37ced066ac18defdf233eec0e91b6cc0 /editor/scenery-editor.hpp
parent6aabc74a535da1f2d5cf866346b31939d097cbac (diff)
wa
Diffstat (limited to 'editor/scenery-editor.hpp')
-rw-r--r--editor/scenery-editor.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/scenery-editor.hpp b/editor/scenery-editor.hpp
index 678b990f..6f15bf76 100644
--- a/editor/scenery-editor.hpp
+++ b/editor/scenery-editor.hpp
@@ -1,7 +1,6 @@
#pragma once
#include "src/scenery-proto.hpp"
#include <map>
-#include <memory>
#include <Corrade/Containers/String.h>
namespace floormat {
@@ -30,7 +29,7 @@ public:
void select_tile(const scenery_& s);
void clear_selection();
const scenery_& get_selected() const;
- bool is_atlas_selected(const std::shared_ptr<anim_atlas>& atlas) const;
+ bool is_atlas_selected(const bptr<anim_atlas>& atlas) const;
bool is_item_selected(const scenery_& s) const;
bool is_anything_selected() const;
static void place_tile(world& w, global_coords pos, const scenery_& s, app& a);