File diff r4292:340dc5050536 → r4293:cbb984a32af5
engine.c
Show inline comments
 
@@ -235,13 +235,13 @@ static PlayerID GetBestPlayer(PlayerID p
 
}
 

	
 
void EnginesDailyLoop(void)
 
{
 
	EngineID i;
 

	
 
	if (_cur_year >= 130) return;
 
	if (_cur_year >= 2050) return;
 

	
 
	for (i = 0; i != lengthof(_engines); i++) {
 
		Engine *e = &_engines[i];
 

	
 
		if (e->flags & ENGINE_INTRODUCING) {
 
			if (e->flags & ENGINE_PREVIEWING) {
 
@@ -356,13 +356,13 @@ static void NewVehicleAvailable(Engine *
 
}
 

	
 
void EnginesMonthlyLoop(void)
 
{
 
	Engine *e;
 

	
 
	if (_cur_year < 130) {
 
	if (_cur_year < 2050) {
 
		for (e = _engines; e != endof(_engines); e++) {
 
			// Age the vehicle
 
			if (e->flags & ENGINE_AVAILABLE && e->age != 0xFFFF) {
 
				e->age++;
 
				CalcEngineReliability(e);
 
			}