From 0b97d0abee3c451c3ea4e55c06a75b2abf5a1f14 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 4 Feb 2024 19:31:57 +0100 Subject: a --- editor/draw.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'editor') 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(); -- cgit v1.2.3