From 23eae734c5e8a49c02e48fe0b401d610abfee9c8 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 15 Mar 2023 15:43:59 +0100 Subject: a --- src/scenery.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/scenery.cpp') diff --git a/src/scenery.cpp b/src/scenery.cpp index 8808d7ed..a7c21ae2 100644 --- a/src/scenery.cpp +++ b/src/scenery.cpp @@ -14,12 +14,12 @@ scenery_proto::scenery_proto(const scenery_proto&) = default; scenery_proto::~scenery_proto() noexcept = default; scenery_proto::operator bool() const { return atlas != nullptr; } -bool scenery::can_activate(It, struct chunk&) const +bool scenery::can_activate(It) const { return atlas && interactive; } -bool scenery::update(It, struct chunk&, float dt) +bool scenery::update(It, float dt) { auto& s = *this; if (!s.active) @@ -60,7 +60,7 @@ bool scenery::update(It, struct chunk&, float dt) } } -bool scenery::activate(It, struct chunk&) +bool scenery::activate(It) { auto& s = *this; if (s.active) -- cgit v1.2.3