summaryrefslogtreecommitdiffhomepage
path: root/serialize/world-writer.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-09-14 10:29:33 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-09-14 10:30:16 +0200
commite900975255452b70f7474b78050b9c6342912cfe (patch)
treee92e92f804a9cc1c363dad61408e8880741ee961 /serialize/world-writer.cpp
parentc077f0f904cce505e15543b855b4330ca547b53d (diff)
remove some useless casts
Diffstat (limited to 'serialize/world-writer.cpp')
-rw-r--r--serialize/world-writer.cpp2
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);