From f5a7dc9d264c4231d9f688704ceef6971bddf272 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 18 May 2023 18:32:39 +0200 Subject: editor: fix removing scenery --- editor/draw.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'editor/draw.cpp') 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(); -- cgit v1.2.3