summaryrefslogtreecommitdiffhomepage
path: root/serialize
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-20 06:29:31 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-20 07:54:17 +0100
commit1c13313ec845d43077bd7e78538358ca4e007f8a (patch)
tree95923091df12f95bae5049d88037c9c8ff39f07f /serialize
parent38a87664deaedacf0aa8e97d9b0aa46dfb6c8ae6 (diff)
sort entities by id rather than draw order
Diffstat (limited to 'serialize')
-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 9e62cd54..98d7c7a2 100644
--- a/serialize/world-reader.cpp
+++ b/serialize/world-reader.cpp
@@ -304,7 +304,7 @@ void reader_state::read_chunks(reader_t& s)
c.sort_entities();
c.ensure_ground_mesh();
c.ensure_wall_mesh();
- c.ensure_scenery_mesh();
+ c.ensure_scenery_mesh({});
c.ensure_passability();
}
}