File diff r8555:63e19bfda16e → r8556:c5860d29500d
src/openttd.cpp
Show inline comments
 
@@ -2419,6 +2419,16 @@ bool AfterLoadGame()
 
		}
 
	}
 

	
 
	if (CheckSavegameVersion(88)) {
 
		/* Profits are now with 8 bit fract */
 
		Vehicle *v;
 
		FOR_ALL_VEHICLES(v) {
 
			v->profit_this_year <<= 8;
 
			v->profit_last_year <<= 8;
 
			v->running_ticks = 0;
 
		}
 
	}
 

	
 
	return InitializeWindowsAndCaches();
 
}