[Freeciv-Dev] (PR#10276) Goto bug
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10276 >
How about storing the waypoints explicitely in the unit struct (instead of just
one
goto_dest, have an array)? Then each turn the client can just replan. This
has the
benefit of dealing with the problem of random movements, new roads, enemy units
blocking the path (that is, noticing this before sidling up next to it). The
number of
units under goto control probably isn't so large that this would make things too
compute-expensive.
|
|