diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-07 11:09:05 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-07 11:09:05 +0200 |
| commit | 09b9ec36cbcba5c2b6a9acf609972264af0b51a5 (patch) | |
| tree | 2655eec6ef03913808aa012e8a526fa1959ee24d | |
| parent | f922e988afc2b154376957900939b21e00a86a8e (diff) | |
d
| -rw-r--r-- | serialize/savegame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize/savegame.cpp b/serialize/savegame.cpp index 8b848f9f..be2a95d2 100644 --- a/serialize/savegame.cpp +++ b/serialize/savegame.cpp @@ -848,7 +848,7 @@ struct reader final : visitor_<reader> obj = w.make_unconnected_object<scenery>(); break; } - visit_object_internal(*obj, f, id, object_type(type), ch); + visit_object_internal(*obj, f, id, type, ch); if (PROTO >= 21) [[likely]] fm_soft_assert(object_counter >= id); |
