File diff r13023:9f6499c8d4fb → r13024:48c81d0b078a
src/engine.cpp
Show inline comments
 
@@ -433,14 +433,14 @@ static void CalcEngineReliability(Engine
 
		 * We will now completely retire this design */
 
		e->company_avail = 0;
 
		e->reliability = e->reliability_final;
 
		/* Kick this engine out of the lists */
 
		AddRemoveEngineFromAutoreplaceAndBuildWindows(e->type);
 
	}
 
	InvalidateWindowClasses(WC_BUILD_VEHICLE); // Update to show the new reliability
 
	InvalidateWindowClasses(WC_REPLACE_VEHICLE);
 
	SetWindowClassesDirty(WC_BUILD_VEHICLE); // Update to show the new reliability
 
	SetWindowClassesDirty(WC_REPLACE_VEHICLE);
 
}
 

	
 
void SetYearEngineAgingStops()
 
{
 
	/* Determine last engine aging year, default to 2050 as previously. */
 
	_year_engine_aging_stops = 2050;