diff options
author | rubidium <rubidium@openttd.org> | 2008-08-02 22:54:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-08-02 22:54:38 +0000 |
commit | bd0a42074444264b448ea5ddc34e79ea400fe20a (patch) | |
tree | 373ccda8723360ad95343d0d54766240d8e0de3c /src/train.h | |
parent | e9b62103e485414e4da419d6b2f286304d950774 (diff) | |
download | openttd-bd0a42074444264b448ea5ddc34e79ea400fe20a.tar.xz |
(svn r13955) -Codechange [YAPP]: Try to extend the path of a stuck train so it is able to continue. (michi_cc)
Diffstat (limited to 'src/train.h')
-rw-r--r-- | src/train.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/train.h b/src/train.h index 81b512c1b..27e232935 100644 --- a/src/train.h +++ b/src/train.h @@ -274,6 +274,7 @@ void UpdateTrainAcceleration(Vehicle* v); void CheckTrainsLengths(); void FreeTrainTrackReservation(const Vehicle *v, TileIndex origin = INVALID_TILE, Trackdir orig_td = INVALID_TRACKDIR); +bool TryPathReserve(Vehicle *v, bool mark_as_stuck = false, bool first_tile_okay = false); /** * This class 'wraps' Vehicle; you do not actually instantiate this class. |