1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 02:19:09 +00:00

(svn r24717) -Fix [FS#5139]: When starting a scenario apply the local company settings to the new company.

This commit is contained in:
frosch
2012-11-12 20:14:08 +00:00
parent 4471f6bca8
commit ce87b8fc63

View File

@@ -717,6 +717,8 @@ bool AfterLoadGame()
* But this exeption is not true for non dedicated network_servers! */
if (!Company::IsValidID(COMPANY_FIRST) && (!_networking || (_networking && _network_server && !_network_dedicated))) {
DoStartupNewCompany(false);
Company *c = Company::Get(COMPANY_FIRST);
c->settings = _settings_client.company;
}
/* Fix the cache for cargo payments. */