summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--editor/draw.cpp3
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();