Project

General

Profile

Bug #1657 ยป 0009-dai_manage_airunit-Fill-path-finding-parameter.patch

Marko Lindqvist, 09/21/2025 03:36 AM

View differences:

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(&parameter, nmap, punit);
pfm = pf_map_new(&parameter);
path = pf_map_path(pfm, punit->goto_tile);
if (path) {
    (1-1/1)