Changeset - r6303:f6eacd92f6a9
[Not reviewed]
master
0 1 0
KUDr - 17 years ago 2007-03-13 21:04:22
kudr@openttd.org
(svn r9146) -Fix [NTP][FS#676](r6800): "Train is lost" message is generated incorrectly. Forgot to set the best bird distance to zero in case we found the destination to indicate success. (de_zeurkous)
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/train_cmd.cpp
Show inline comments
 
@@ -2158,6 +2158,7 @@ static bool NtpCallbFindStation(TileInde
 
		 * approximation of where the station is */
 
		// found station
 
		ttfd->best_track = track;
 
		ttfd->best_bird_dist = 0;
 
		return true;
 
	} else {
 
		// didn't find station, keep track of the best path so far.
0 comments (0 inline, 0 general)