summaryrefslogtreecommitdiffhomepage
path: root/editor/update.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-21 12:01:48 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-21 12:28:53 +0100
commit9b063b749faedd17fd8f6d76a25d84f066a92814 (patch)
tree4bf4b7106ade3cd762281204bc1e72344bc12739 /editor/update.cpp
parent3ed15b56aded3a6f58ef98d0cbe17012e28e9430 (diff)
scenery work
Diffstat (limited to 'editor/update.cpp')
-rw-r--r--editor/update.cpp2
1 files changed, 1 insertions, 1 deletions
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();
}