summaryrefslogtreecommitdiffhomepage
path: root/serialize
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-02-11 17:59:21 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-02-11 17:59:33 +0100
commit91467e77de6ac3acff4326f4cd9d5a4390ccc3ce (patch)
treebab36732d6d1c09fecbde286ae2eb34f2dd10ed7 /serialize
parent72735b0ba4fc4bcbc613afee5e438c2b20a54a51 (diff)
save: remove some reader obsolete code
Diffstat (limited to 'serialize')
-rw-r--r--serialize/world-reader.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/serialize/world-reader.cpp b/serialize/world-reader.cpp
index 4d27c27f..34e9e711 100644
--- a/serialize/world-reader.cpp
+++ b/serialize/world-reader.cpp
@@ -182,19 +182,6 @@ void reader_state::read_chunks(reader_t& s)
}
t.scenery() = sc;
}
-
-#if 0
- switch (auto x = pass_mode(flags & pass_mask))
- {
- case pass_mode::shoot_through:
- case pass_mode::blocked:
- case pass_mode::pass:
- t.passability() = x;
- break;
- default: [[unlikely]]
- fm_throw("bad pass mode '{}' for tile {}"_cf, i, pass_mode_(x));
- }
-#endif
}
}
}