diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-12-05 21:32:57 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-12-06 01:35:11 +0100 |
| commit | 0a6612286bfa8c2503c757da2b39da37aa05deaf (patch) | |
| tree | 3606dbe2ee59026f0fcdba7377034dfcab13da0d /serialize/world-reader.cpp | |
| parent | 2679d49a53a3f9825ce855f6ed25b3b045ec5aa1 (diff) | |
src/chunk: plug in lqt for collision detection
Diffstat (limited to 'serialize/world-reader.cpp')
| -rw-r--r-- | serialize/world-reader.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/serialize/world-reader.cpp b/serialize/world-reader.cpp index 98704599..f5459203 100644 --- a/serialize/world-reader.cpp +++ b/serialize/world-reader.cpp @@ -149,7 +149,7 @@ void reader_state::read_chunks(reader_t& s) return { atlas, v }; }; - t.passability() = pass_mode(flags & pass_mask); + //t.passability() = pass_mode(flags & pass_mask); if (flags & meta_ground) t.ground() = make_atlas(); if (flags & meta_wall_n) @@ -178,6 +178,7 @@ 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: @@ -188,6 +189,7 @@ void reader_state::read_chunks(reader_t& s) default: [[unlikely]] fm_throw("bad pass mode '{}' for tile {}"_cf, i, pass_mode_(x)); } +#endif } } } |
