Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2000:
[Freeciv-Dev] goto patch
Home

[Freeciv-Dev] goto patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] goto patch
From: Thue <thue@xxxxxxx>
Date: Thu, 22 Jun 2000 00:50:33 +0200

When a unit is on goto find_the_shortest_path() will mark all
routes on the warmap. find_a_direction() will then choose the path one move at
a time, judging by various factors like the defense bonus, railroad (RR)etc.
The means that if a unit is going to a square without RRs, and the unit
can choose between going directly or via yet another square with RRs, it
will choose the RR square. This looks very stupid in practice, as you can see
with jjm's movement throttle on.
Patch attached.

-Thue

Attachment: diff
Description: Text Data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] goto patch, Thue <=