diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-09 11:45:34 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-09 11:45:34 +0100 |
| commit | ff3a18b1a251a5e85057e52303efa0cdd79e8a66 (patch) | |
| tree | 44c2f3a6f69bc922d71063debd14ba669c74ca0d /editor/update.cpp | |
| parent | b4770eb85369e91cbf800e8192dac0d8c0c627cf (diff) | |
add floor mesh to struct chunk
Diffstat (limited to 'editor/update.cpp')
| -rw-r--r-- | editor/update.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/update.cpp b/editor/update.cpp index ed9c2561..36a872c5 100644 --- a/editor/update.cpp +++ b/editor/update.cpp @@ -29,7 +29,8 @@ 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, {rotation::N, 0} }; + //c.mark_modified(); } void app::maybe_initialize_chunk([[maybe_unused]] const chunk_coords& pos, [[maybe_unused]] chunk& c) |
