diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-30 13:45:28 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-30 16:30:25 +0100 |
commit | 90b214c0a4b3c91ad021c9923f1b8a69ccbe88e8 (patch) | |
tree | ba018d88faee760820c7525862101c1bb66284bb /src/scenery.hpp | |
parent | ccf843360374c2f91d4d9420e4d2ccd73a03e703 (diff) |
src: add missing scenery check in tile_ref::operator==
Diffstat (limited to 'src/scenery.hpp')
-rw-r--r-- | src/scenery.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scenery.hpp b/src/scenery.hpp index 5f755bfd..05a72b43 100644 --- a/src/scenery.hpp +++ b/src/scenery.hpp @@ -45,6 +45,8 @@ struct scenery final bool passable = false, bool blocks_view = false, bool active = false, bool interactive = false); scenery(door_tag_t, const anim_atlas& atlas, rotation r, bool is_open = false); + bool operator==(const scenery&) const noexcept; + bool can_activate() const noexcept; bool activate(const anim_atlas& atlas); void update(float dt, const anim_atlas& anim); |