diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-09 15:45:14 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-09 15:45:14 +0200 |
commit | eca0c1d438410932831e75e8ce3be961e05a6e2f (patch) | |
tree | 9815c0aa2d393f0741c5530d0fb4d28194696717 /serialize | |
parent | 6bcc0bea59e639e20bd3244b5c2b6c001aa2a707 (diff) |
w
Diffstat (limited to 'serialize')
-rw-r--r-- | serialize/savegame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/serialize/savegame.cpp b/serialize/savegame.cpp index 831dbf06..3968fee1 100644 --- a/serialize/savegame.cpp +++ b/serialize/savegame.cpp @@ -442,10 +442,10 @@ struct writer final : visitor_<writer, true> case object_type::critter: { uint16_t offset_frac = 0; - critter_header_s s = { + critter_header_s cr = { .offset_frac = offset_frac, }; - visit_object_proto(static_cast<const critter&>(obj), move(s), f); + visit_object_proto(static_cast<const critter&>(obj), move(cr), f); goto ok; } case object_type::light: |