Ticket #44155

Check legality of unit actions on adjacent tiles on tile change

오픈 날짜: 2022-03-20 14:56 마지막 업데이트: 2022-06-26 13:03

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
2

Details

There's a long standing issue with typical rulesets where legality of the irrigating activity can depend on the irrigation of the adjacent tile. If that adjacent tile loses the irrigation for some reason, we later get an error about unit doing illegal activity.

So far we've not cared about this relative harmless thing enough to take the performance hit of (checking and) cancelling illegal unit activities also in adjacent tiles when the tile changes. Now, what might would have been a slight performance hit in earlier versions is certainly more than offset by the advancement in the hardware, so it might be time to implement the check to 3.2.

Ticket History (3/8 Histories)

2022-03-20 14:56 Updated by: cazfi
  • New Ticket "Check legality of unit actions on adjacent tiles on tile change" created
2022-04-14 15:26 Updated by: cazfi
댓글 올리기

Should fix #44370 first

2022-04-15 12:31 Updated by: cazfi
댓글 올리기

Actually, many places of the code seems to attempt this already. So it might be a bug that it sometimes does not happen.

2022-05-31 05:08 Updated by: cazfi
댓글 올리기

Reply To cazfi

Actually, many places of the code seems to attempt this already. So it might be a bug that it sometimes does not happen.

Yes, it's supposed to work on all branches, but climate change is buggy.

2022-06-20 05:27 Updated by: cazfi
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
2022-06-26 13:03 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