(svn r16444) -Codechange: Set all company settings to their default value for a new company instead of zeroing them.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user