Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] Re: (PR#9406) goto failures
Home

[Freeciv-Dev] Re: (PR#9406) goto failures

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv-Dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: (PR#9406) goto failures
From: Jason Dorje Short <jdorje@xxxxxxxxxxx>
Date: Fri, 16 Jul 2004 21:01:07 -0400

Christian Knoke wrote:
Number 2.

unit leaves the street and climbs hill instead.

The problem is that moves are random and goto assumes the worst case. So leaving the road to go over the hill takes 2 moves, while staying on the street takes 2 moves in the worst case (but most likely only 1 move).

The same thing often happens with rivers.

This is not easy to fix so long as moves are random.

jason


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