Bug#473678: boswars: game "looping" endlessly...
Kalle Olavi Niemitalo
kon at iki.fi
Tue Jul 6 07:08:40 UTC 2010
Another related upstream bug has been fixed in SVN trunk:
"Path finding method eats CPU futilely when there is not possible path"
If I understand correctly, the pathfinder itself was not changed
there, but the higher-level code was changed to retry fewer times
if it doesn't find a path right away. This change is not in the
boswars-2.6 branch. It is likely to be released in Bos Wars 2.7.
I had some plans for caching the results from the pathfinder:
"Speed up pathfinder by caching islands"
but it now seems such a cache would require also hooking all the
code that moves units, so I'd rather do that only if the current
fix doesn't suffice.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the Pkg-games-devel