Ticket #45307

find_something_to_kill() max_move_cost self-assignment

오픈 날짜: 2022-08-06 11:42 마지막 업데이트: 2022-09-04 14:01

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
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.

Ticket History (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 (None) to cazfi
  • Resolution Update from None to Accepted
  • Milestone Update from (None) to 3.0.4 (closed)
2022-09-04 14:01 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login