From 87b07a5c872ba37676ea02e6f9961307839137b2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 18 Mar 2023 02:02:49 +0100 Subject: a --- 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 1165219d..22a7fd16 100644 --- a/editor/scenery-editor.cpp +++ b/editor/scenery-editor.cpp @@ -98,7 +98,7 @@ void scenery_editor::place_tile(world& w, global_coords pos, const scenery_& s) else { // todo check collision at pos - w.make_entity(pos, s.proto); + w.make_entity(w.make_id(), pos, s.proto); } c.mark_scenery_modified(); } -- cgit v1.2.3