From 275cb79a1857fff08ce1b642bbfab6d7377bcaef Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 20 Oct 2023 12:33:00 +0200 Subject: aa --- editor/scenery-editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/scenery-editor.cpp') diff --git a/editor/scenery-editor.cpp b/editor/scenery-editor.cpp index 511e5b6a..d338cdcb 100644 --- a/editor/scenery-editor.cpp +++ b/editor/scenery-editor.cpp @@ -86,7 +86,7 @@ void scenery_editor::place_tile(world& w, global_coords pos, const scenery_& s, { auto [c, t] = w[pos]; const auto& es = c.objects(); -start: while (auto id = a.object_at_cursor()) +start: while (auto id = a.get_object_colliding_with_cursor()) { for (auto i = es.size()-1; i != (size_t)-1; i--) { -- cgit v1.2.3