diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-09-14 10:29:33 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-09-14 10:30:16 +0200 |
commit | e900975255452b70f7474b78050b9c6342912cfe (patch) | |
tree | e92e92f804a9cc1c363dad61408e8880741ee961 /serialize/world-writer.cpp | |
parent | c077f0f904cce505e15543b855b4330ca547b53d (diff) |
remove some useless casts
Diffstat (limited to 'serialize/world-writer.cpp')
-rw-r--r-- | serialize/world-writer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize/world-writer.cpp b/serialize/world-writer.cpp index 0c15291a..78ce3ac2 100644 --- a/serialize/world-writer.cpp +++ b/serialize/world-writer.cpp @@ -600,7 +600,7 @@ ArrayView<const char> writer_state::serialize_world() copy(atlas_buf); copy(scenery_buf); copy(string_buf); - copy_int((object_id)_world->object_counter()); + copy_int(_world->object_counter()); copy_int((chunksiz)_world->size()); for (const auto& buf : chunk_bufs) copy(buf); |