diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 21:07:30 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 21:07:30 +0100 |
commit | 0ef4d750d1b3e275c1cb90e18b289d9d4a85da8f (patch) | |
tree | 66a13c06c0cb0347bd508b8cb24b10a8989370d9 /serialize | |
parent | c929fb0a915dd88c9e9d8ce4f2650c34ae205d40 (diff) |
serialize/save: loosen up assert for a new test
Diffstat (limited to 'serialize')
-rw-r--r-- | serialize/world-reader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize/world-reader.cpp b/serialize/world-reader.cpp index 1b32204f..0b84dbf0 100644 --- a/serialize/world-reader.cpp +++ b/serialize/world-reader.cpp @@ -49,7 +49,7 @@ void reader_state::read_atlases(reader_t& s) size[1] << s; const auto& [buf, len] = s.read_asciiz_string<atlas_name_max>(); auto atlas = loader.tile_atlas({buf, len}); - fm_soft_assert(size == atlas->num_tiles2()); + fm_soft_assert(size <= atlas->num_tiles2()); atlases.push_back(std::move(atlas)); } } |