任务单 #45831

research_invention_state() trying to return -1 on error

开放日期: 2022-10-11 22:28 最后更新: 2022-12-17 19:35

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

Details

research_invention_state() return type is enum tech_state, but it still has:

fc_assert_ret_val(NULL != valid_advance_by_number(tech), -1);

任务单历史 (3/5 Histories)

2022-10-11 22:28 Updated by: cazfi
  • New Ticket "research_invention_state() trying to return -1 on error" created
2022-12-05 00:22 Updated by: cazfi
2022-12-14 09:27 Updated by: cazfi
  • 属主 Update from (无) to cazfi
  • 处理结果 Update from to Accepted
2022-12-17 19:35 Updated by: cazfi
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

编辑

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