diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-08 14:08:50 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-08 14:08:50 +0200 |
| commit | 54965220ebe8f0c1cecb6d1cfec856c979aaa92d (patch) | |
| tree | 867d5d78313decbfaa2f913b0a2b3e4d54d12292 /editor/draw.cpp | |
| parent | 0cd263af59f256da2d2f3a77be264d5e64c1ec5d (diff) | |
make global_coords ctor less implicit
Diffstat (limited to 'editor/draw.cpp')
| -rw-r--r-- | editor/draw.cpp | 2 |
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++) |
