Bug #1657 » 0002-dai_manage_airunit-Fill-path-finding-parameter.patch
| ai/default/aiair.c | ||
|---|---|---|
|
&& NULL != punit->goto_tile
|
||
|
&& !same_pos(unit_tile(punit), punit->goto_tile)
|
||
|
&& is_airunit_refuel_point(punit->goto_tile, pplayer, punit)) {
|
||
|
pft_fill_unit_parameter(¶meter, punit);
|
||
|
pfm = pf_map_new(¶meter);
|
||
|
path = pf_map_path(pfm, punit->goto_tile);
|
||
|
if (path) {
|
||
- « Previous
- 1
- 2
- Next »