From a813f35f824cb5a7370818b116578d148bc33687 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 30 Nov 2022 06:50:26 +0100 Subject: scenery: remove 'animated' property This can be inferred from 'active' and anim atlas frame count. --- src/scenery.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/scenery.cpp') diff --git a/src/scenery.cpp b/src/scenery.cpp index dfb72b65..6e3d08ac 100644 --- a/src/scenery.cpp +++ b/src/scenery.cpp @@ -31,9 +31,9 @@ scenery_ref::operator bool() const noexcept { return atlas != nullptr; } scenery::scenery() noexcept : scenery{none_tag_t{}} {} scenery::scenery(none_tag_t) noexcept : passable{true} {} scenery::scenery(generic_tag_t, const anim_atlas& atlas, rotation r, frame_t frame, - bool passable, bool blocks_view, bool animated, bool active, bool interactive) : + bool passable, bool blocks_view, bool active, bool interactive) : frame{frame}, r{r}, type{scenery_type::generic}, - passable{passable}, blocks_view{blocks_view}, active{active}, animated{animated}, + passable{passable}, blocks_view{blocks_view}, active{active}, interactive{interactive} { fm_assert(r < rotation_COUNT); -- cgit v1.2.3