summaryrefslogtreecommitdiffhomepage
path: root/serialize/world-reader.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-17 10:59:44 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-17 11:01:18 +0100
commit8b67a492f459a47a1d2eeebc852c9741a77708d5 (patch)
tree1f98c71721e3841da1bbfb49afa211f8c92af472 /serialize/world-reader.cpp
parent7e8875bac57fdf2bf5e773a890ad868b5ff22727 (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 366648d5..ac247553 100644
--- a/serialize/world-reader.cpp
+++ b/serialize/world-reader.cpp
@@ -24,7 +24,7 @@ using namespace floormat::Serialize;
constexpr inline atlasid meta_short_scenery_bit_ = highbits<atlasid, 1, 0>;
constexpr inline atlasid meta_rotation_bits_ = highbits<atlasid, rotation_BITS, 1>;
constexpr inline atlasid scenery_id_flag_mask_ = meta_short_scenery_bit_ | meta_rotation_bits_;
-constexpr inline atlasid scenery_id_max_ = int_max<atlasid> & ~scenery_id_flag_mask_;
+constexpr inline atlasid scenery_id_max_ = int_traits<atlasid>::max & ~scenery_id_flag_mask_;
struct reader_state final {
explicit reader_state(world& world) noexcept;