diff options
author | rubidium <rubidium@openttd.org> | 2009-12-02 09:31:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-12-02 09:31:38 +0000 |
commit | ef8cc49175ae8f97c6659c3acd13fdb4434cd535 (patch) | |
tree | 70b95a04f49f1755580f2d0a31bf7ec47df717ad /src/pathfinder/yapf/yapf.h | |
parent | 250c355508ea280d89ad0004e715831b59522419 (diff) | |
download | openttd-ef8cc49175ae8f97c6659c3acd13fdb4434cd535.tar.xz |
(svn r18370) -Codechange: push some constness/type strictness into the ship pathfinders
Diffstat (limited to 'src/pathfinder/yapf/yapf.h')
-rw-r--r-- | src/pathfinder/yapf/yapf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathfinder/yapf/yapf.h b/src/pathfinder/yapf/yapf.h index 1a21b67ea..2f39cd6c5 100644 --- a/src/pathfinder/yapf/yapf.h +++ b/src/pathfinder/yapf/yapf.h @@ -23,7 +23,7 @@ * @param tracks available tracks on the new tile (to choose from) * @return the best trackdir for next turn or INVALID_TRACK if the path could not be found */ -Track YapfChooseShipTrack(const Vehicle *v, TileIndex tile, DiagDirection enterdir, TrackBits tracks); +Track YapfChooseShipTrack(const Ship *v, TileIndex tile, DiagDirection enterdir, TrackBits tracks); /** Finds the best path for given road vehicle. * @param v the RV that needs to find a path |