summaryrefslogtreecommitdiff
path: root/src/ship_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-12-02 09:31:38 +0000
committerrubidium <rubidium@openttd.org>2009-12-02 09:31:38 +0000
commitef8cc49175ae8f97c6659c3acd13fdb4434cd535 (patch)
tree70b95a04f49f1755580f2d0a31bf7ec47df717ad /src/ship_cmd.cpp
parent250c355508ea280d89ad0004e715831b59522419 (diff)
downloadopenttd-ef8cc49175ae8f97c6659c3acd13fdb4434cd535.tar.xz
(svn r18370) -Codechange: push some constness/type strictness into the ship pathfinders
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r--src/ship_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp
index 1d8943a15..4ce5798c6 100644
--- a/src/ship_cmd.cpp
+++ b/src/ship_cmd.cpp
@@ -362,7 +362,7 @@ static void ShipArrivesAt(const Vehicle *v, Station *st)
/** returns the track to choose on the next tile, or -1 when it's better to
* reverse. The tile given is the tile we are about to enter, enterdir is the
* direction in which we are entering the tile */
-static Track ChooseShipTrack(Ship *v, TileIndex tile, DiagDirection enterdir, TrackBits tracks)
+static Track ChooseShipTrack(const Ship *v, TileIndex tile, DiagDirection enterdir, TrackBits tracks)
{
assert(IsValidDiagDirection(enterdir));