summaryrefslogtreecommitdiffhomepage
path: root/editor/draw.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-03 17:28:19 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-03 20:34:02 +0100
commitf947c96ba400784090aa36c5bde469c92843083d (patch)
tree0784f1062e5bea931dfe757cf7ac74c680e50f55 /editor/draw.cpp
parent8b5ad57aefe1d4bdee5334b194f63168fbe8581e (diff)
editor: add rendering clickables
Diffstat (limited to 'editor/draw.cpp')
-rw-r--r--editor/draw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/draw.cpp b/editor/draw.cpp
index f1a0616c..92f0ea47 100644
--- a/editor/draw.cpp
+++ b/editor/draw.cpp
@@ -138,7 +138,7 @@ void app::draw_collision_boxes()
void app::draw()
{
- if (_enable_render_bboxes)
+ if (_render_bboxes)
draw_collision_boxes();
if (_editor.current_tile_editor() || _editor.current_scenery_editor())
draw_cursor();