Ticket #46023

savesanity -module

Eröffnet am: 2022-11-01 10:19 Letztes Update: 2023-01-04 02:31

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
(Keine)
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Rejected
Datei:
Keine

Details

What is currently sg_load_sanitycheck() in both savegame2.c and savegame3.c does not depend on the savegame format (2 or 3). The game state should be similarly sane after the savegame has been loaded in either case. Move that functionality to a new "savesanity.[ch]" -module?

Ticket-Verlauf (2/2 Historien)

2022-11-01 10:19 Aktualisiert von: cazfi
  • New Ticket "savesanity -module" created
2023-01-04 02:31 Aktualisiert von: cazfi
  • Status Update from Offen to Geschlossen
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Keine to Rejected
Kommentar

Reply To cazfi

The game state should be similarly sane after the savegame has been loaded in either case.

Comparison of the function in savegame2.c and savegame3.c reveal some differences in what they fix. So it's by the very idea of having separate sg2 and sg3 that latter does not need to do things for very old saves that sg2 needs to -> abandoning the idea of this ticket.

Dateianhangliste

Keine Anhänge

Bearbeiten

Please login to add comment to this ticket » Anmelden