diff options
author | rubidium <rubidium@openttd.org> | 2009-12-02 00:01:07 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-12-02 00:01:07 +0000 |
commit | 9d5ff5def0790ead791b7ef09727d3ad3b41e565 (patch) | |
tree | 9320a45ecc7c0657d387d786fc55b18e9a705174 /src/pathfinder/npf/npf.cpp | |
parent | 76fe20cdccd68679f4681e3f378b7695d161e8a8 (diff) | |
download | openttd-9d5ff5def0790ead791b7ef09727d3ad3b41e565.tar.xz |
(svn r18368) -Fix: alignment of comment and 'add' some missing comments
Diffstat (limited to 'src/pathfinder/npf/npf.cpp')
-rw-r--r-- | src/pathfinder/npf/npf.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pathfinder/npf/npf.cpp b/src/pathfinder/npf/npf.cpp index 50795d0ed..085a00053 100644 --- a/src/pathfinder/npf/npf.cpp +++ b/src/pathfinder/npf/npf.cpp @@ -1133,9 +1133,9 @@ Track NPFShipChooseTrack(Ship *v, TileIndex tile, DiagDirection enterdir, TrackB NPFFoundTargetData ftd = NPFRouteToStationOrTile(tile - TileOffsByDiagDir(enterdir), trackdir, true, &fstd, TRANSPORT_WATER, 0, v->owner, INVALID_RAILTYPES); /* If ftd.best_bird_dist is 0, we found our target and ftd.best_trackdir contains - * the direction we need to take to get there, if ftd.best_bird_dist is not 0, - * we did not find our target, but ftd.best_trackdir contains the direction leading - * to the tile closest to our target. */ + * the direction we need to take to get there, if ftd.best_bird_dist is not 0, + * we did not find our target, but ftd.best_trackdir contains the direction leading + * to the tile closest to our target. */ if (ftd.best_trackdir == 0xff) return INVALID_TRACK; return TrackdirToTrack(ftd.best_trackdir); } |