Changeset - r10429:2fd3ff9ad1ec
[Not reviewed]
master
0 1 0
frosch - 15 years ago 2008-12-16 20:15:36
frosch@openttd.org
(svn r14682) -Fix (r14672): Check the correct savegame version. (Thanks SmatZ)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/openttd.cpp
Show inline comments
 
@@ -2590,13 +2590,13 @@ bool AfterLoadGame()
 
		Station *st;
 
		FOR_ALL_STATIONS(st) {
 
			st->indtype = IT_INVALID;
 
		}
 
	}
 

	
 
	if (CheckSavegameVersion(103)) {
 
	if (CheckSavegameVersion(104)) {
 
		Vehicle *v;
 
		FOR_ALL_VEHICLES(v) {
 
			/* Set engine_type of shadow and rotor */
 
			if (v->type == VEH_AIRCRAFT && !IsNormalAircraft(v)) {
 
				v->engine_type = v->First()->engine_type;
 
			}
0 comments (0 inline, 0 general)