summaryrefslogtreecommitdiff
path: root/src/station_func.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2019-04-06 23:33:09 +0100
committerNiels Martin Hansen <nielsm@indvikleren.dk>2019-06-30 16:46:32 +0200
commitec2656ab7ef6d924f3c30624bf1d3c7449403c6f (patch)
tree1d936631285034aca11bb4bc49faeb255cefbb91 /src/station_func.h
parentf538179878370b3bec8bf1575dc30c1377461ebc (diff)
downloadopenttd-ec2656ab7ef6d924f3c30624bf1d3c7449403c6f.tar.xz
Codechange: Restrict docking points of docks.
Diffstat (limited to 'src/station_func.h')
-rw-r--r--src/station_func.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/station_func.h b/src/station_func.h
index 44aec087f..86aae1e56 100644
--- a/src/station_func.h
+++ b/src/station_func.h
@@ -43,6 +43,7 @@ void DeleteOilRig(TileIndex t);
void UpdateStationDockingTiles(Station *st);
void RemoveDockingTile(TileIndex t);
void ClearDockingTilesCheckingNeighbours(TileIndex tile);
+bool IsValidDockingDirectionForDock(TileIndex t, DiagDirection d);
/* Check if a rail station tile is traversable. */
bool IsStationTileBlocked(TileIndex tile);