summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-10 12:09:48 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-10 12:09:48 +0100
commit951a632653c8170c2dc11448fe6414d4f09a9363 (patch)
treeca07a46d75533215e9ea4520d0adf60620a4c70d /editor
parent4c5ee43dcc535c8ef84f042b252ff6d4e724754d (diff)
fix gcc build
Diffstat (limited to 'editor')
-rw-r--r--editor/update.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/update.cpp b/editor/update.cpp
index 506022d5..e9207cf6 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, {rotation::N, 0} };
+ c[{K+1, K+1}].scenery() = { _door, scenery{rotation::N, 0} };
c.mark_modified();
}