Bug #1657 » 0009-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_refuel_point(punit->goto_tile, pplayer, punit)) { | ||
|       pft_fill_unit_parameter(¶meter, nmap, punit); | ||
|       pfm = pf_map_new(¶meter); | ||
|       path = pf_map_path(pfm, punit->goto_tile); | ||
|       if (path) { | ||