File diff r23022:731ae1300799 → r23023:7b8669afd1db
src/engine.cpp
Show inline comments
 
@@ -570,13 +570,13 @@ static bool IsWagon(EngineID index)
 
{
 
	const Engine *e = Engine::Get(index);
 
	return e->type == VEH_TRAIN && e->u.rail.railveh_type == RAILVEH_WAGON;
 
}
 

	
 
/**
 
 * Update #reliability of engine \a e, (if needed) update the engine GUIs.
 
 * Update #Engine::reliability and (if needed) update the engine GUIs.
 
 * @param e %Engine to update.
 
 */
 
static void CalcEngineReliability(Engine *e)
 
{
 
	uint age = e->age;