Bug #2481 » 0001-dai_hunter_manage-Skip-only-targets-we-cannot-attack-after-2461.patch
| ai/default/daihunter.c | ||
|---|---|---|
|
}
|
||
|
target_tile = unit_tile(target);
|
||
|
if (!unit_attack_unit_at_tile_result(punit, nullptr, target, target_tile)) {
|
||
|
if (unit_attack_unit_at_tile_result(punit, nullptr, target, target_tile)
|
||
|
!= ATT_OK) {
|
||
|
/* We can't attack the target */
|
||
|
continue;
|
||
|
}
|
||
- « Previous
- 1
- 2
- 3
- Next »