diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-17 07:01:45 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-17 23:23:11 +0100 |
commit | 34ae7b665919d05660263bf522c78ebdb735d30d (patch) | |
tree | d58a83c5b5b71763c71e51cf421079380cac00c1 /src/scenery.hpp | |
parent | 34a0239ad6e6d84bd0027d9029d0d74419247d01 (diff) |
aaa
Diffstat (limited to 'src/scenery.hpp')
-rw-r--r-- | src/scenery.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scenery.hpp b/src/scenery.hpp index 2939fe7d..68ba1607 100644 --- a/src/scenery.hpp +++ b/src/scenery.hpp @@ -30,6 +30,7 @@ struct scenery_proto : entity_proto scenery_proto(const scenery_proto&); ~scenery_proto() noexcept override; scenery_proto& operator=(const scenery_proto&); + bool operator==(const entity_proto& proto) const override; operator bool() const; }; @@ -43,7 +44,7 @@ struct scenery final : entity bool can_activate(std::size_t i) const override; bool activate(std::size_t i) override; bool update(std::size_t i, float dt) override; - bool operator==(const entity_proto& p) const override; + explicit operator scenery_proto() const; private: friend struct world; |