summaryrefslogtreecommitdiffhomepage
path: root/src/scenery.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-15 15:43:59 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-15 15:43:59 +0100
commit23eae734c5e8a49c02e48fe0b401d610abfee9c8 (patch)
tree02311af36b8c2a10f8b69543b7b38e498bd42bd8 /src/scenery.cpp
parent2e0c0009806860e4e8ac24663afdc5d926d1213f (diff)
a
Diffstat (limited to 'src/scenery.cpp')
-rw-r--r--src/scenery.cpp6
1 files changed, 3 insertions, 3 deletions
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)