summaryrefslogtreecommitdiffhomepage
path: root/editor/update.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-25 15:05:47 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-25 15:05:47 +0100
commit1831d5d1eab5c9a607270a8a9b72a2ac1e6ce62a (patch)
tree17ca2a62150972780fe35cd10b685dad3c80c5a3 /editor/update.cpp
parente06df4dce05c8dd2ebd340ee1abcc8556f328d73 (diff)
add control panel scenery item
Diffstat (limited to 'editor/update.cpp')
-rw-r--r--editor/update.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/update.cpp b/editor/update.cpp
index 15d99d39..9e479050 100644
--- a/editor/update.cpp
+++ b/editor/update.cpp
@@ -32,6 +32,7 @@ void app::maybe_initialize_chunk_(const chunk_coords& pos, chunk& c)
c[{K+1, K }].wall_west() = { _wall2, 0 };
c[{K+3, K+1}].scenery() = { scenery::door, rotation::N, _door, false };
c[{ 3, 4 }].scenery() = { scenery::generic, rotation::N, _table };
+ c[{K, K+1}].scenery() = { scenery::generic, rotation::N, _control_panel, true };
c.mark_modified();
}