Complete.Org: Mailing Lists: Archives: freeciv-ai: October 2003:
[freeciv-ai] Re: (PR#4744) More pathfinding
Home

[freeciv-ai] Re: (PR#4744) More pathfinding

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: chrisk@xxxxxxxxx
Subject: [freeciv-ai] Re: (PR#4744) More pathfinding
From: "Gregory Berkolaiko" <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Tue, 7 Oct 2003 03:28:44 -0700
Reply-to: rt@xxxxxxxxxxxxxx

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        |
> +---------------+--------------+
> 




[Prev in Thread] Current Thread [Next in Thread]