summaryrefslogtreecommitdiff
path: root/src/pbs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pbs.h')
-rw-r--r--src/pbs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pbs.h b/src/pbs.h
index d4b87b8e6..8a6a5533f 100644
--- a/src/pbs.h
+++ b/src/pbs.h
@@ -31,6 +31,8 @@ PBSTileInfo FollowTrainReservation(const Vehicle *v);
bool IsSafeWaitingPosition(const Vehicle *v, TileIndex tile, Trackdir trackdir, bool include_line_end, bool forbid_90deg = false);
bool IsWaitingPositionFree(const Vehicle *v, TileIndex tile, Trackdir trackdir, bool forbid_90deg = false);
+Vehicle *GetTrainForReservation(TileIndex tile, Track track);
+
/**
* Check whether some of tracks is reserved on a tile.
*