diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-18 18:32:39 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-18 18:37:30 +0200 |
| commit | f5a7dc9d264c4231d9f688704ceef6971bddf272 (patch) | |
| tree | 6996ffd40229708db40d781be36e0cf396a9395b /editor/draw.cpp | |
| parent | ec7be88fbb4062af20b77198007d815c321c2850 (diff) | |
editor: fix removing scenery
Diffstat (limited to 'editor/draw.cpp')
| -rw-r--r-- | editor/draw.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/draw.cpp b/editor/draw.cpp index 124ca5d3..b6edf215 100644 --- a/editor/draw.cpp +++ b/editor/draw.cpp @@ -180,7 +180,9 @@ void app::draw() { if (_render_bboxes) draw_collision_boxes(); - if (_editor.current_tile_editor() || _editor.current_scenery_editor() || _editor.current_vobj_editor()) + if (_editor.current_tile_editor() || + _editor.current_scenery_editor() && _editor.current_scenery_editor()->is_anything_selected() || + _editor.current_vobj_editor()) draw_cursor(); draw_ui(); render_menu(); |
