待辦事項 #48127

Savegame: "unused entry" warnings about treaty.accept

啟用日期: 2023-06-01 09:45 最後更新: 2023-06-07 05:12

回報者:
負責人:
類型:
狀態:
關閉
元件:
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
3

細節

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
  • 負責人 Update from (無) to cazfi
  • 處理結果 Update from to Accepted
評語

Patches for all branches, including S2_6.

2023-06-07 05:12 Updated by: cazfi
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

編輯

Please login to add comment to this ticket » 登入