summaryrefslogtreecommitdiffhomepage
path: root/src/scenery.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-25 19:37:06 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-25 19:37:06 +0100
commite46dd0f45d1cab35c7441d72f5dcac83720cc539 (patch)
tree1611ed041680e6dcccb115cbc7c99e098b809d33 /src/scenery.cpp
parent1831d5d1eab5c9a607270a8a9b72a2ac1e6ce62a (diff)
add scenery horizontal mirroring
Diffstat (limited to 'src/scenery.cpp')
-rw-r--r--src/scenery.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scenery.cpp b/src/scenery.cpp
index 7c3001b0..eb90b598 100644
--- a/src/scenery.cpp
+++ b/src/scenery.cpp
@@ -56,6 +56,9 @@ scenery::scenery(float dt, frame_t frame, rotation r, bool passable, scenery_typ
bool scenery::can_activate() const noexcept
{
+#if 0
+ return true;
+#else
switch (type)
{
default:
@@ -65,6 +68,7 @@ bool scenery::can_activate() const noexcept
case scenery_type::object:
return true;
}
+#endif
}
void scenery::update(float dt, const anim_atlas& anim)