Tíquete #48127

Savegame: "unused entry" warnings about treaty.accept

: 2023-06-01 09:45 Última Atualização: 2023-06-07 05:12

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
3

Details

Seen & investigated on S3_0: Loading a savegame sometimes gives "unused entry" warnings about "accept0" and "accept1" entries of treaties.

The treaties in question seem to be ones with no clauses added (or the clauses removed). The bug seems to be that "accept0" and "accept1" are read *inside the loop of reading clauses*. I guess that in most cases this results in multiple checks of treaty acceptance (once for each clause), but in case of zero clauses it's not checked at all.

Ticket History (3/6 Histories)

2023-06-01 09:45 Updated by: cazfi
  • New Ticket "Savegame: "unused entry" warnings about treaty.accept" created
2023-06-01 09:52 Updated by: cazfi
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
Comentário

Patches for all branches, including S2_6.

2023-06-07 05:12 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Login