diff options
author | michi_cc <michi_cc@openttd.org> | 2009-12-27 14:37:50 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2009-12-27 14:37:50 +0000 |
commit | f7025612e1bfb10619a216a92960b701ede1b643 (patch) | |
tree | 50390c4078e56b3cd5dce3afd6b0f9c855be532f /src/pbs.h | |
parent | 182b0b5c141da2afb1d686c08ea786b28d3e0689 (diff) | |
download | openttd-f7025612e1bfb10619a216a92960b701ede1b643.tar.xz |
(svn r18647) -Fix: [YAPP] A train inside a station was not always found when checking for trains on a reserved path.
Diffstat (limited to 'src/pbs.h')
-rw-r--r-- | src/pbs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ struct PBSTileInfo { PBSTileInfo(TileIndex _t, Trackdir _td, bool _okay) : tile(_t), trackdir(_td), okay(_okay) {} }; -PBSTileInfo FollowTrainReservation(const Train *v, bool *train_on_res = NULL); +PBSTileInfo FollowTrainReservation(const Train *v, Vehicle **train_on_res = NULL); bool IsSafeWaitingPosition(const Train *v, TileIndex tile, Trackdir trackdir, bool include_line_end, bool forbid_90deg = false); bool IsWaitingPositionFree(const Train *v, TileIndex tile, Trackdir trackdir, bool forbid_90deg = false); |