任务单 #45196

Failing "punit->homecity == pcity->id" asserts for NoHome units

开放日期: 2022-07-23 15:06 最后更新: 2022-07-29 17:58

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
3

Details

Overzealous asserts in place_unit() and check_city_good() fail for NoHome units.

任务单历史 (3/8 Histories)

2022-07-23 15:06 Updated by: cazfi
  • New Ticket "Failing "punit->homecity == pcity->id" asserts for NoHome units" created
2022-07-23 15:15 Updated by: cazfi
  • 属主 Update from (无) to cazfi
  • 处理结果 Update from to Accepted
  • 里程碑 Update from (无) to 3.0.3 (关闭)
评论

S3_0 version to be applied to S2_6 too

2022-07-24 11:52 Updated by: cazfi
  • 处理结果 Update from Accepted to
  • 里程碑 Update from 3.0.3 (关闭) to (无)
评论

Maybe those asserts are not overzealous, but they have been detecting an actual bug. They are in the context of units in city.units_supported, so there should NOT be any NoHome units there.

2022-07-25 02:22 Updated by: cazfi
  • 处理结果 Update from to Accepted
  • 里程碑 Update from (无) to 3.1.0 (关闭)
评论

Actual bugfix attached. master & S3_1 affected.

2022-07-29 17:58 Updated by: cazfi
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

编辑

Please login to add comment to this ticket » 登录名