diff options
author | frosch <frosch@openttd.org> | 2008-02-20 15:13:42 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-02-20 15:13:42 +0000 |
commit | f5929d413b030d4b739ae16604e13598155271d2 (patch) | |
tree | 4c5862dde2fdfc0058bc9a2999d4402a2334b88c /src/ship_cmd.cpp | |
parent | ca461540689131714dca1cc4cd4e519e8a5d485f (diff) | |
download | openttd-f5929d413b030d4b739ae16604e13598155271d2.tar.xz |
(svn r12193) -Codechange: Rename a magic variable, give it a decent type, and remove a 'goto'.
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r-- | src/ship_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp index b0e806a91..17f11dd2b 100644 --- a/src/ship_cmd.cpp +++ b/src/ship_cmd.cpp @@ -428,7 +428,7 @@ struct PathFindShip { uint best_length; }; -static bool ShipTrackFollower(TileIndex tile, PathFindShip *pfs, int track, uint length, byte *state) +static bool ShipTrackFollower(TileIndex tile, PathFindShip *pfs, int track, uint length) { /* Found dest? */ if (tile == pfs->dest_coords) { |