From 9b063b749faedd17fd8f6d76a25d84f066a92814 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 21 Nov 2022 12:01:48 +0100 Subject: scenery work --- editor/update.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/update.cpp') diff --git a/editor/update.cpp b/editor/update.cpp index cc765268..60d012d2 100644 --- a/editor/update.cpp +++ b/editor/update.cpp @@ -29,7 +29,7 @@ void app::maybe_initialize_chunk_(const chunk_coords& pos, chunk& c) c[{K, K }].wall_west() = { _wall2, 0 }; c[{K, K+1}].wall_north() = { _wall1, 0 }; c[{K+1, K }].wall_west() = { _wall2, 0 }; - c[{K+1, K+1}].scenery() = { _door, scenery{0, rotation::N} }; + c[{K+1, K+1}].scenery() = { scenery::door, rotation::N, _door, false }; c.mark_modified(); } -- cgit v1.2.3