diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/scenery.cpp | 2 | ||||
| -rw-r--r-- | src/scenery.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/scenery.cpp b/src/scenery.cpp index 28884ad8..89c04eec 100644 --- a/src/scenery.cpp +++ b/src/scenery.cpp @@ -50,7 +50,7 @@ scenery::scenery(door_tag_t, const anim_atlas& atlas, rotation r, bool is_open) fm_assert(atlas.group(r).frames.size() >= 2); } -bool scenery::can_activate() const noexcept +bool scenery::can_activate(const anim_atlas&) const noexcept { return interactive; } diff --git a/src/scenery.hpp b/src/scenery.hpp index b94e1d2a..5cfe3827 100644 --- a/src/scenery.hpp +++ b/src/scenery.hpp @@ -49,7 +49,7 @@ struct scenery final bool operator==(const scenery&) const noexcept; - bool can_activate() const noexcept; + bool can_activate(const anim_atlas& anim) const noexcept; bool activate(const anim_atlas& atlas); void update(float dt, const anim_atlas& anim); }; |
