From e46dd0f45d1cab35c7441d72f5dcac83720cc539 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 25 Nov 2022 19:37:06 +0100 Subject: add scenery horizontal mirroring --- src/scenery.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/scenery.cpp') 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) -- cgit v1.2.3