Changeset - r10706:1df70cb6bed3
[Not reviewed]
master
0 2 0
truebrain - 15 years ago 2009-01-12 19:31:00
truebrain@openttd.org
(svn r15038) -Fix (r15027): loading older savegames failed
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/company_base.h
Show inline comments
 
@@ -70,7 +70,7 @@ struct Company : PoolItem<Company, Compa
 
	Money bankrupt_value;
 

	
 
	bool is_ai;
 
	bool is_noai; ///< This is a NoAI player (for loading old savegames properly). Part of the NoAI 'hack' to retain savegame compatability with trunk
 
	bool is_noai; ///< This is a NoAI player (for loading old savegames properly)
 

	
 
	class AIInstance *ai_instance;
 
	class AIInfo *ai_info;
src/company_cmd.cpp
Show inline comments
 
@@ -51,7 +51,7 @@ DEFINE_OLD_POOL_GENERIC(Company, Company
 
Company::Company(uint16 name_1, bool is_ai) : name_1(name_1), location_of_HQ(INVALID_TILE), is_ai(is_ai)
 
{
 
	for (uint j = 0; j < 4; j++) this->share_owners[j] = COMPANY_SPECTATOR;
 
	this->is_noai = true;
 
	this->is_noai = false;
 
}
 

	
 
Company::~Company()
0 comments (0 inline, 0 general)