summaryrefslogtreecommitdiffhomepage
path: root/editor/draw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/draw.cpp')
-rw-r--r--editor/draw.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/draw.cpp b/editor/draw.cpp
index c9f82cdd..c4f6a8a2 100644
--- a/editor/draw.cpp
+++ b/editor/draw.cpp
@@ -202,7 +202,8 @@ void app::draw()
do_lightmap_test();
if (_render_bboxes)
draw_collision_boxes();
- if (_editor.current_ground_editor() || _editor.current_wall_editor() ||
+ if (_editor.current_ground_editor() && _editor.current_ground_editor()->is_anything_selected() ||
+ _editor.current_wall_editor() && _editor.current_wall_editor()->is_anything_selected() ||
_editor.current_scenery_editor() && _editor.current_scenery_editor()->is_anything_selected() ||
_editor.current_vobj_editor() && _editor.current_vobj_editor()->is_anything_selected())
draw_cursor();