summaryrefslogtreecommitdiffhomepage
path: root/serialize
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-04-13 18:58:44 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-04-13 21:04:10 +0200
commitff2a12174c8bd8be75dadeb23c88b6f9a1f0e1da (patch)
treeb8601e893a69e8a43f23cc59d1e24c4b871eb218 /serialize
parent512e6a1a50bb909cc7d39de0bdc0a8939fa909fe (diff)
fix crash on quickload
Diffstat (limited to 'serialize')
-rw-r--r--serialize/old-savegame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize/old-savegame.cpp b/serialize/old-savegame.cpp
index fe56be32..2e982af2 100644
--- a/serialize/old-savegame.cpp
+++ b/serialize/old-savegame.cpp
@@ -477,7 +477,7 @@ void reader_state::read_chunks(reader_t& s)
s >> sc.offset[1];
}
read_bbox(s, sc);
- _world->make_scenery(oid, {ch, local}, move(sc));
+ _world->make_scenery<false>(oid, {ch, local}, move(sc));
}
break;
}