(svn r16444) -Codechange: Set all company settings to their default value for a new company instead of zeroing them.

This commit is contained in:
yexo
2009-05-26 23:14:02 +00:00
parent 118d444be2
commit d982ec81df
4 changed files with 16 additions and 6 deletions

View File

@@ -436,11 +436,7 @@ Company *DoStartupNewCompany(bool is_ai)
c->inaugurated_year = _cur_year;
RandomCompanyManagerFaceBits(c->face, (GenderEthnicity)Random(), false); // create a random company manager face
/* Settings for non-ai companies are copied from the client settings later. */
if (is_ai) {
c->settings.engine_renew_money = 100000;
c->settings.engine_renew_months = 6;
}
SetDefaultCompanySettings(c->index);
GeneratePresidentName(c);