[Freeciv-Dev] Re: (PR#9406) goto failures
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|