From c213ff35e5f6d525778e1d427a14b97c962ae984 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 2 Aug 2008 22:54:38 +0000 Subject: (svn r13955) -Codechange [YAPP]: Try to extend the path of a stuck train so it is able to continue. (michi_cc) --- src/train.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/train.h') 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. -- cgit v1.2.3-54-g00ecf