diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-26 11:51:38 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-26 11:51:38 +0200 |
commit | 7d421d0069dbc8bcf948a29d39c3f8e65de19b33 (patch) | |
tree | 35c04379407563c8d9fbb03f0116e9d1732028ba /main/draw.cpp | |
parent | a768733aec06a395ad409e5ed8c49dee69414d64 (diff) |
draw, editor, main: add toggling vobj display
Diffstat (limited to 'main/draw.cpp')
-rw-r--r-- | main/draw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/draw.cpp b/main/draw.cpp index a8bac01c..322f4f66 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -171,7 +171,7 @@ void main_impl::draw_world() noexcept auto& c = *c_; const with_shifted_camera_offset o{_shader, pos, {minx, miny}, {maxx, maxy}}; if (check_chunk_visible(_shader.camera_offset(), sz)) - _anim_mesh.draw(_shader, sz, c, _clickable_scenery); + _anim_mesh.draw(_shader, sz, c, _clickable_scenery, _do_render_vobjs); } _shader.set_tint({1, 1, 1, 1}); |