Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2003:
[Freeciv-Dev] Re: (PR#4326) Pathfinding
Home

[Freeciv-Dev] Re: (PR#4326) Pathfinding

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ChrisK@xxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#4326) Pathfinding
From: "Raimar Falke" <rf13@xxxxxxxxxxxxxxxxx>
Date: Tue, 3 Jun 2003 13:18:21 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Fri, May 30, 2003 at 05:34:51AM -0700, ChrisK@xxxxxxxx wrote:
> 
> CVS 30 MAY 2003
> 
> Given a settler that can go either
> 
> 1) road - road - grassland
> 
> or 
> 
> 2) mountains - grassland
> 
> pathfinding chooses 2), although there is a chance for the settler to reach
> the target in one move with 1).

As Gregory said: replace 
  goto_map.template.turn_mode = TM_WORST_TIME;
in client/goto.c with
  goto_map.template.turn_mode = TM_BEST_TIME;

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "We just typed make..."
    -- Stephen Lambrigh, Director of Server Product Marketing at Informix,
                         about porting their Database to Linux




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