summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2009-01-12 19:31:00 +0000
committertruebrain <truebrain@openttd.org>2009-01-12 19:31:00 +0000
commit2c89bfbc8167c8808be71d08c918d52d92c5300d (patch)
treeb62a65f58773dc921e2648b04675c679730be6fb /src/company_cmd.cpp
parent4a5044e61a875c913999ae05855a662fa756b0eb (diff)
downloadopenttd-2c89bfbc8167c8808be71d08c918d52d92c5300d.tar.xz
(svn r15038) -Fix (r15027): loading older savegames failed
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r--src/company_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp
index 3c3ff9ff3..0cab1e0c4 100644
--- a/src/company_cmd.cpp
+++ b/src/company_cmd.cpp
@@ -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()