[freeciv-ai] Re: (PR#4744) More pathfinding
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, 6 Oct 2003, Guest wrote:
> Related bug:
> Musketers diagonally adjacient to city. River from musketters square
> flows throuugh city. Enemy unit in city. Goto will move musketters
> along river. Don't do this!
This is a genuine bug. Chris, can you try adding
if (is_ground_unit(punit)) {
parameter->get_MC = land_attack_move;
}
before line 356 in goto.c,
http://www.freeciv.org/lxr/source/client/goto.c#L356
G.
>
> Four-tile diagram:
>
> +---------------+--------------+
> + Grasslands | Plains River |
> + Empty | Musketters |
> +---------------+--------------+
> + Swamp River | Plains River |
> + City Pikeman | Empty |
> +---------------+--------------+
>
[freeciv-ai] Re: (PR#4744) More pathfinding, Sam Steingold, 2003/10/08
[freeciv-ai] Re: (PR#4744) More pathfinding, Gregory Berkolaiko, 2003/10/09
|
|