summaryrefslogtreecommitdiff
path: root/src/viewport.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-25 12:20:18 +0000
committerrubidium <rubidium@openttd.org>2010-12-25 12:20:18 +0000
commitb323000253a471b1a8553ad46bd9f107bea07d4d (patch)
treecdfdeda7b978585e6c499b1570d51c01e9340e3a /src/viewport.cpp
parent7cce50744308e4022f36659e30885920cf5d860a (diff)
downloadopenttd-b323000253a471b1a8553ad46bd9f107bea07d4d.tar.xz
(svn r21631) -Fix [FS#4325]: ships with the old pathfinder would easily show up as lost, even when it would eventually find a path. Now also the distance from the "end" of the pathfinding run to the destination is compared to the current distance to the destination; if the distance to the destination at the end of the pathfinder run is less than the current distance from the destination the ship won't be marked as lost. This means that the ships with the old pathfinder will less likely get marked as lost, but due to the design of the old ship pathfinder there "lostness" is merely a best guess. When you still get a lost message
Diffstat (limited to 'src/viewport.cpp')
0 files changed, 0 insertions, 0 deletions