]> git.pond.sub.org Git - empserver/commit
Use path_find() directly in sorde()
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 21 Mar 2011 19:45:04 +0000 (20:45 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 12 Apr 2011 19:51:32 +0000 (21:51 +0200)
commit957a6a74dfcd9a838f58ecc11cd06c77ca9a1bba
treead01c4f45011071b69acf9e567a60e6a4d819e65
parentec1d91a34ff4d822a673ee946f8fcf0a49221623
Use path_find() directly in sorde()

Don't compute the distance from the path, use the path cost.  The
actual path is no longer needed, and we can use path_find() instead of
BestShipPath().

Destinations are no longer treated as unreachable when the best path
is longer than 1023 characters.
src/lib/commands/orde.c