Tíquete #43432

Minor optimization to unit_do_disband_trad()

: 2021-12-20 01:53 Última Atualização: 2022-04-21 03:10

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
1

Details

unit_is_alive() checks (there's multiple) in unit_do_disband_trad() should not be unconditionally after the blocks that *might* have performed an action on unit. Instead the check should be performed only inside those blocks in the case where the action has been performed.

Ticket History (3/5 Histories)

2021-12-20 01:53 Updated by: cazfi
  • New Ticket "Minor optimization to unit_do_disband_trad()" created
2022-01-08 12:15 Updated by: cazfi
2022-04-09 16:03 Updated by: cazfi
2022-04-21 03:10 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