summaryrefslogtreecommitdiffhomepage
path: root/editor/app.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/app.hpp
parent6aabc74a535da1f2d5cf866346b31939d097cbac (diff)
wa
Diffstat (limited to 'editor/app.hpp')
-rw-r--r--editor/app.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/app.hpp b/editor/app.hpp
index aecd495b..b04da7dc 100644
--- a/editor/app.hpp
+++ b/editor/app.hpp
@@ -2,6 +2,7 @@
#include "compat/defs.hpp"
#include "compat/enum-bitset-fwd.hpp"
#include "compat/safe-ptr.hpp"
+#include "compat/borrowed-ptr-fwd.hpp"
#include "floormat/app.hpp"
#include "keys.hpp"
#include "src/global-coords.hpp"
@@ -82,7 +83,7 @@ struct app final : floormat_app
const struct cursor_state& cursor_state();
clickable* find_clickable_scenery(const Optional<Vector2i>& pixel);
Vector2 point_screen_pos(point pt);
- shared_ptr_wrapper<critter> ensure_player_character(world& w);
+ bptr<critter> ensure_player_character(world& w);
private:
explicit app(fm_settings&& opts);