diff options
author | frosch <frosch@openttd.org> | 2008-08-03 14:16:57 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-08-03 14:16:57 +0000 |
commit | 983e297ff0836199d6544a3201ea51c7525bd849 (patch) | |
tree | 91aa49f7db5969ec5f76576c6d2f900a65774dd8 /src/pbs.h | |
parent | 9a1958be91096d77294c196fa543d6e45b7c9873 (diff) | |
download | openttd-983e297ff0836199d6544a3201ea51c7525bd849.tar.xz |
(svn r13974) -Fix [YAPP]: A train crash could lead to stale reservations. (michi_cc)
Diffstat (limited to 'src/pbs.h')
-rw-r--r-- | src/pbs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ struct PBSTileInfo { PBSTileInfo(TileIndex _t, Trackdir _td, bool _okay) : tile(_t), trackdir(_td), okay(_okay) {} }; -PBSTileInfo FollowTrainReservation(const Vehicle *v); +PBSTileInfo FollowTrainReservation(const Vehicle *v, Vehicle **train_on_res = NULL); 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); |