From a335d1efbde4f5415632666aaf8f4fd55a30a8bf Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 24 Feb 2023 11:01:05 +0100 Subject: add non-interactive scenery to clickables --- main/draw.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main/draw.cpp b/main/draw.cpp index 81dd7172..1a9dae26 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -122,8 +122,7 @@ void main_impl::draw_world() noexcept { const local_coords xy{i}; if (auto [atlas, s] = c[xy].scenery(); atlas) - if (s.can_activate(*atlas)) - _anim_mesh.add_clickable(_shader, window_size, pos, std::uint8_t(i), atlas, s, _clickable_scenery); + _anim_mesh.add_clickable(_shader, window_size, pos, std::uint8_t(i), atlas, s, _clickable_scenery); } } } -- cgit v1.2.3