summaryrefslogtreecommitdiffhomepage
path: root/main/draw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/draw.cpp')
-rw-r--r--main/draw.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/main/draw.cpp b/main/draw.cpp
index cf8ab20a..37b88e7c 100644
--- a/main/draw.cpp
+++ b/main/draw.cpp
@@ -134,11 +134,7 @@ void main_impl::draw_world() noexcept
continue;
const with_shifted_camera_offset o{_shader, pos, {minx, miny}, {maxx, maxy}};
if (check_chunk_visible(_shader.camera_offset(), sz))
- {
- _anim_mesh.draw(_shader, c);
- for (const auto& e : c.entities())
- _anim_mesh.add_clickable(_shader, window_size(), e, _clickable_scenery);
- }
+ _anim_mesh.draw(_shader, sz, c, _clickable_scenery);
}
GL::Renderer::setDepthMask(true);