diff options
author | smatz <smatz@openttd.org> | 2008-03-19 20:50:19 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-03-19 20:50:19 +0000 |
commit | ac4ec8c2d2120d308d6710104ef0d04a02ae5424 (patch) | |
tree | e774ea23b6e94d9b81b383a3d13deff48bfd8762 /src/rail.h | |
parent | ab7542e912c54907690d34779d743eaef874b7e8 (diff) | |
download | openttd-ac4ec8c2d2120d308d6710104ef0d04a02ae5424.tar.xz |
(svn r12386) -Fix [FS#1841](r2428): train could break apart when reversed while partially in a depot
Diffstat (limited to 'src/rail.h')
-rw-r--r-- | src/rail.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rail.h b/src/rail.h index 5f91490c9..eb31bb4ab 100644 --- a/src/rail.h +++ b/src/rail.h @@ -181,6 +181,7 @@ void *UpdateTrainPowerProc(Vehicle *v, void *data); void DrawTrainDepotSprite(int x, int y, int image, RailType railtype); void DrawDefaultWaypointSprite(int x, int y, RailType railtype); void *EnsureNoTrainOnTrackProc(Vehicle *v, void *data); +int TicksToLeaveDepot(const Vehicle *v); /** * Draws overhead wires and pylons for electric railways. |