diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-04 19:31:57 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-04 19:31:57 +0100 |
commit | 0b97d0abee3c451c3ea4e55c06a75b2abf5a1f14 (patch) | |
tree | 0f77072f43b3ec117aa2767091b5d569c9feceea /editor | |
parent | 4f0ab7a386a80af9b22a1ce5eba037d6c591ce57 (diff) |
a
Diffstat (limited to 'editor')
-rw-r--r-- | editor/draw.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/draw.cpp b/editor/draw.cpp index bd77f37d..535882e5 100644 --- a/editor/draw.cpp +++ b/editor/draw.cpp @@ -206,8 +206,7 @@ void app::draw() do_lightmap_test(); if (_render_bboxes) draw_collision_boxes(); - if (_editor->current_ground_editor() && _editor->current_ground_editor()->is_anything_selected() || - _editor->current_wall_editor() && _editor->current_wall_editor()->is_anything_selected() || + if (_editor->current_ground_editor() || _editor->current_wall_editor() || _editor->current_scenery_editor() && _editor->current_scenery_editor()->is_anything_selected() || _editor->current_vobj_editor() && _editor->current_vobj_editor()->is_anything_selected()) draw_cursor(); |