summaryrefslogtreecommitdiff
path: root/src/unmovable_cmd.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-02-18 16:11:31 +0000
committersmatz <smatz@openttd.org>2008-02-18 16:11:31 +0000
commit9f619f91b382985891a234138d2efa79cfe9ec29 (patch)
tree931c3875fce3f210d8676944d6ea635dac295fc7 /src/unmovable_cmd.cpp
parentada241e279539890447574c4386603dcaae1d3d6 (diff)
downloadopenttd-9f619f91b382985891a234138d2efa79cfe9ec29.tar.xz
(svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so there can be less checks in pathfinders for depots/stations/tunnels/bridges
Diffstat (limited to 'src/unmovable_cmd.cpp')
-rw-r--r--src/unmovable_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unmovable_cmd.cpp b/src/unmovable_cmd.cpp
index 345e9f0c3..64201cb6f 100644
--- a/src/unmovable_cmd.cpp
+++ b/src/unmovable_cmd.cpp
@@ -348,7 +348,7 @@ static void TileLoop_Unmovable(TileIndex tile)
}
-static uint32 GetTileTrackStatus_Unmovable(TileIndex tile, TransportType mode, uint sub_mode)
+static uint32 GetTileTrackStatus_Unmovable(TileIndex tile, TransportType mode, uint sub_mode, DiagDirection side)
{
return 0;
}