From 54965220ebe8f0c1cecb6d1cfec856c979aaa92d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 8 Apr 2023 14:08:50 +0200 Subject: make global_coords ctor less implicit --- editor/draw.cpp | 2 +- editor/save.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'editor') 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; + using rtree_type = std::decay_t; using rect_type = typename rtree_type::Rect; for (int8_t z = z_min; z <= z_max; z++) diff --git a/editor/save.cpp b/editor/save.cpp index c00506a7..6b712589 100644 --- a/editor/save.cpp +++ b/editor/save.cpp @@ -57,7 +57,7 @@ void app::do_new_file() { reset_world(); auto& w = M->world(); - maybe_initialize_chunk_(chunk_coords{}, w[chunk_coords{}]); + maybe_initialize_chunk_(chunk_coords_{}, w[chunk_coords_{}]); } } // namespace floormat -- cgit v1.2.3