File diff r19232:d9c6c042a8d5 → r19233:bd16563de8bd
src/vehicle_base.h
Show inline comments
 
@@ -594,25 +594,25 @@ public:
 
		this->timetable_start = src->timetable_start;
 

	
 
		if (HasBit(src->vehicle_flags, VF_TIMETABLE_STARTED)) SetBit(this->vehicle_flags, VF_TIMETABLE_STARTED);
 
		if (HasBit(src->vehicle_flags, VF_AUTOFILL_TIMETABLE)) SetBit(this->vehicle_flags, VF_AUTOFILL_TIMETABLE);
 
		if (HasBit(src->vehicle_flags, VF_AUTOFILL_PRES_WAIT_TIME)) SetBit(this->vehicle_flags, VF_AUTOFILL_PRES_WAIT_TIME);
 

	
 
		this->service_interval = src->service_interval;
 
	}
 

	
 

	
 
	bool HandleBreakdown();
 

	
 
	bool NeedsAutorenewing(const Company *c) const;
 
	bool NeedsAutorenewing(const Company *c, bool use_renew_setting = true) const;
 

	
 
	bool NeedsServicing() const;
 
	bool NeedsAutomaticServicing() const;
 

	
 
	/**
 
	 * Determine the location for the station where the vehicle goes to next.
 
	 * Things done for example are allocating slots in a road stop or exact
 
	 * location of the platform is determined for ships.
 
	 * @param station the station to make the next location of the vehicle.
 
	 * @return the location (tile) to aim for.
 
	 */
 
	virtual TileIndex GetOrderStationLocation(StationID station) { return INVALID_TILE; }