summaryrefslogtreecommitdiffhomepage
path: root/editor/draw.cpp
diff options
context:
space:
mode:
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 c01c149d..436283e7 100644
--- a/editor/draw.cpp
+++ b/editor/draw.cpp
@@ -72,7 +72,7 @@ void app::draw_collision_boxes()
auto& world = M->world();
auto& shader = M->shader();
- using rtree_type = std::decay_t<decltype(*world[chunk_coords{}].rtree())>;
+ using rtree_type = std::decay_t<decltype(*world[chunk_coords_{}].rtree())>;
using rect_type = typename rtree_type::Rect;
for (int8_t z = z_min; z <= z_max; z++)