Tíquete #44155

Check legality of unit actions on adjacent tiles on tile change

: 2022-03-20 14:56 Última Atualização: 2022-06-26 13:03

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
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
Comentário

Should fix #44370 first

2022-04-15 12:31 Updated by: cazfi
Comentário

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
Comentário

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
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
2022-06-26 13:03 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Login