(svn r23112) -Codechange: Check if vehicle chain lengths stays constant when auto-refitting.

This commit is contained in:
michi_cc
2011-11-04 15:04:29 +00:00
parent ad2fdd8d6f
commit a3e6e113fe
6 changed files with 30 additions and 22 deletions

View File

@@ -79,7 +79,7 @@ static const uint RVC_DEPOT_STOP_FRAME = 11;
/** The number of ticks a vehicle has for overtaking. */
static const byte RV_OVERTAKE_TIMEOUT = 35;
void RoadVehUpdateCache(RoadVehicle *v);
void RoadVehUpdateCache(RoadVehicle *v, bool same_length = false);
/**
* Buses, trucks and trams belong to this class.