Changeset - r10921:2cf3abd4d238
[Not reviewed]
master
0 1 0
smatz - 16 years ago 2009-01-24 15:01:29
smatz@openttd.org
(svn r15256) -Fix (r15027): use of uninitialised variable while saving/loading game with AIs
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/company_sl.cpp
Show inline comments
 
@@ -221,7 +221,7 @@ static void SaveLoad_PLYR(Company *c)
 
	SlObject(c, _company_desc);
 

	
 
	/* Keep backwards compatible for savegames, so load the old AI block */
 
	if (!IsHumanCompany(c->index) && !c->is_noai) {
 
	if (CheckSavegameVersion(107) && !IsHumanCompany(c->index) && !c->is_noai) {
 
		CompanyOldAI old_ai;
 
		char nothing;
 

	
0 comments (0 inline, 0 general)