diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 13:22:31 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 13:22:31 +0100 |
commit | 2618f4c486848c5e3b080eb77a0c0c143932240e (patch) | |
tree | 6f4f106f98f3fc73bc7de6ae7a96322079169dff /serialize/world-reader.cpp | |
parent | db6e21d50d426d0745d844f3166da296a40435e9 (diff) |
fix few asserts
Diffstat (limited to 'serialize/world-reader.cpp')
-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 58cd35ea..84958109 100644 --- a/serialize/world-reader.cpp +++ b/serialize/world-reader.cpp @@ -314,7 +314,7 @@ void reader_state::deserialize_world(ArrayView<const char> buf) read_sceneries(s); read_chunks(s); s.assert_end(); - if (proto >= 8) [[likely]] + if (PROTO >= 8) [[likely]] { fm_assert(_world->entity_counter() == 0); _world->set_entity_counter(entity_counter); |