任务单 #45307

find_something_to_kill() max_move_cost self-assignment

开放日期: 2022-08-06 11:42 最后更新: 2022-09-04 14:01

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

Details

find_something_to_kill() has:

int max_move_cost = max_move_cost = 10 * unit_move_rate(punit);

Further, this self-assignment seems to be the only use of max_move_cost in that function.

任务单历史 (3/5 Histories)

2022-08-06 11:42 Updated by: cazfi
  • New Ticket "find_something_to_kill() max_move_cost self-assingment" created
2022-08-06 13:22 Updated by: cazfi
  • Summary Updated
2022-08-27 16:07 Updated by: cazfi
  • 属主 Update from (无) to cazfi
  • 处理结果 Update from to Accepted
  • 里程碑 Update from (无) to 3.0.4 (关闭)
2022-09-04 14:01 Updated by: cazfi
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

编辑

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