(svn r12386) -Fix [FS#1841](r2428): train could break apart when reversed while partially in a depot

This commit is contained in:
smatz
2008-03-19 20:50:19 +00:00
parent ab7542e912
commit ac4ec8c2d2
3 changed files with 93 additions and 14 deletions

View File

@@ -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.