diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-20 21:09:03 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-20 21:09:03 +0100 |
| commit | 3ed15b56aded3a6f58ef98d0cbe17012e28e9430 (patch) | |
| tree | e6fa61a797a81fd6bf7ee3f16c4bcb1a5f0bc8ff /editor | |
| parent | 2b710e55157b83cff93e3414e4017b34b9789bc3 (diff) | |
scenery: don't bother with bitfields
The `scenery_proto` struct is rounded up to a multiple of 8 bytes.
Diffstat (limited to 'editor')
| -rw-r--r-- | editor/update.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/update.cpp b/editor/update.cpp index e9207cf6..cc765268 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{rotation::N, 0} }; + c[{K+1, K+1}].scenery() = { _door, scenery{0, rotation::N} }; c.mark_modified(); } |
