(svn r12193) -Codechange: Rename a magic variable, give it a decent type, and remove a 'goto'.

This commit is contained in:
frosch
2008-02-20 15:13:42 +00:00
parent 44a8293364
commit 1d120c51b8
5 changed files with 21 additions and 31 deletions

View File

@@ -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) {