Tíquete #46023

savesanity -module

: 2022-11-01 10:19 Última Atualização: 2023-01-04 02:31

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
(Nenhum)
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Rejected
Arquivo:
Nenhum

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 History (2/2 Histories)

2022-11-01 10:19 Updated by: cazfi
  • New Ticket "savesanity -module" created
2023-01-04 02:31 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Rejected
Comentário

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.

Attachment File List

No attachments

Editar

Please login to add comment to this ticket » Login