From 275cb79a1857fff08ce1b642bbfab6d7377bcaef Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 20 Oct 2023 12:33:00 +0200 Subject: aa --- editor/vobj-editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/vobj-editor.cpp') diff --git a/editor/vobj-editor.cpp b/editor/vobj-editor.cpp index 4d3f3f03..e5046e61 100644 --- a/editor/vobj-editor.cpp +++ b/editor/vobj-editor.cpp @@ -46,7 +46,7 @@ void vobj_editor::place_tile(world& w, global_coords pos, const vobj_* x, struct { 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