From 889d2c0c0933cf2fd9e068b1d2b79eb936b29b58 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 2 Dec 2022 14:44:32 +0100 Subject: src, serialize: work on pass mode 1. add one more value to the enum 2. serialize it properly in binary 3. serialize it as string in json --- editor/update.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor') diff --git a/editor/update.cpp b/editor/update.cpp index b78175f9..ad4fb355 100644 --- a/editor/update.cpp +++ b/editor/update.cpp @@ -32,7 +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, _door, rotation::N, }; c[{ 3, 4 }].scenery() = { scenery::generic, _table, rotation::W, }; - c[{K, K+1}].scenery() = { scenery::generic, _control_panel, rotation::N, scenery::frame_t{0}, true }; + c[{K, K+1}].scenery() = { scenery::generic, _control_panel, rotation::N, scenery::frame_t{0}, pass_mode::pass }; c.mark_modified(); } -- cgit v1.2.3