diff options
Diffstat (limited to 'src/scenery.hpp')
-rw-r--r-- | src/scenery.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scenery.hpp b/src/scenery.hpp index 56675a93..65e32c17 100644 --- a/src/scenery.hpp +++ b/src/scenery.hpp @@ -27,7 +27,7 @@ struct generic_scenery final : scenery bool active : 1 = false; bool interactive : 1 = false; - void update(const std::shared_ptr<object>& ptr, size_t& i, const Ns& dt) override; + void update(const bptr<object>& ptr, size_t& i, const Ns& dt) override; Vector2 ordinal_offset(Vector2b offset) const override; bool can_activate(size_t i) const override; bool activate(size_t i) override; @@ -47,7 +47,7 @@ struct door_scenery final : scenery bool active : 1 = false; bool interactive : 1 = false; - void update(const std::shared_ptr<object>& ptr, size_t& i, const Ns& dt) override; + void update(const bptr<object>& ptr, size_t& i, const Ns& dt) override; Vector2 ordinal_offset(Vector2b offset) const override; bool can_activate(size_t i) const override; bool activate(size_t i) override; |