summaryrefslogtreecommitdiffhomepage
path: root/serialize/world-reader.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-17 11:45:27 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-17 11:45:27 +0100
commitdba1218fe0ed78d5b264538f2f4553900e9fd1eb (patch)
tree5253eb2f20484f100a0c40b10efb3babcfe9db17 /serialize/world-reader.cpp
parent0e94c1acc5ed8d44ce26eb4b4cef8070442d10a4 (diff)
a
Diffstat (limited to 'serialize/world-reader.cpp')
-rw-r--r--serialize/world-reader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize/world-reader.cpp b/serialize/world-reader.cpp
index ac247553..68da2537 100644
--- a/serialize/world-reader.cpp
+++ b/serialize/world-reader.cpp
@@ -223,7 +223,7 @@ void reader_state::read_chunks(reader_t& s)
auto name = lookup_atlas(id);
if constexpr(std::is_same_v<ground_atlas, T>)
{
- auto atlas = loader.ground_atlas(name, true);
+ auto atlas = loader.ground_atlas(name, loader_policy::warn);
fm_soft_assert(v < atlas->num_tiles());
return { atlas, v };
}