待辦事項 #45876

move_data not generated for recursive transports

啟用日期: 2022-10-16 05:41 最後更新: 2023-04-22 19:18

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

細節

unit_move() constructs unit_move_data for the moving unit and it's direct cargo, but not recursively to cargo's cargo.

Ticket History (3/4 Histories)

2022-10-16 05:41 Updated by: cazfi
  • New Ticket "move_data not generated for recursive transports" created
2023-02-20 11:37 Updated by: cazfi
2023-03-24 05:55 Updated by: cazfi
評語

Not expecting to get this implemented and properly tested in time for 3.0.7

2023-04-22 19:18 Updated by: cazfi
  • 狀態 Update from 開啟 to 關閉
  • 負責人 Update from (無) to cazfi
  • 處理結果 Update from to Invalid
評語

Seems that despite its name not explicitly telling so, unit_cargo_iterate() is already recursive (does not iterate just unit->cargo list) -> closing the ticket.

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入