Changeset - r13389:48f76bbcf344
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-10-30 23:24:17
rubidium@openttd.org
(svn r17908) -Fix [FS#3288]: uninitialised values in some paths of loading TTO savegames
1 file changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
src/saveload/oldloader_sl.cpp
Show inline comments
 
@@ -353,7 +353,7 @@ static bool FixTTOEngines()
 
		255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
 
		255, 255, 255, 255,  44,  45,  46, 255, 255, 255, 255,  47,  48, 255,  49,  50,
 
		255, 255, 255, 255,  51,  52, 255,  53,  54, 255,  55,  56, 255,  57,  58, 255,
 
		 59,  60,   255,61,  62, 255,  63,  64, 255,  65,  66, 255, 255, 255, 255, 255,
 
		 59,  60, 255,  61,  62, 255,  63,  64, 255,  65,  66, 255, 255, 255, 255, 255,
 
		255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
 
		255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
 
		255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,  67,  68,  69,  70,
 
@@ -433,12 +433,12 @@ static bool FixTTOEngines()
 
				}
 
			}
 

	
 
			e->preview_company_rank = 0;
 
			e->preview_wait = 0;
 
			e->name = NULL;
 

	
 
			e->info.climates = 1;
 
		}
 

	
 
		e->preview_company_rank = 0;
 
		e->preview_wait = 0;
 
		e->name = NULL;
 
	}
 

	
 
	return true;
0 comments (0 inline, 0 general)