(svn r16857) -Fix [FS#3036](r16652): crash when train partially in depot crashed

This commit is contained in:
smatz
2009-07-17 13:54:06 +00:00
parent 70472e2d98
commit 0b4b9dd764
3 changed files with 31 additions and 25 deletions

View File

@@ -134,6 +134,7 @@ struct Train : public SpecializedVehicle<Train, VEH_TRAIN> {
TileIndex GetOrderStationLocation(StationID station);
bool FindClosestDepot(TileIndex *location, DestinationID *destination, bool *reverse);
void ReserveTrackUnderConsist() const;
/**
* enum to handle train subtypes