diff options
author | frosch <frosch@openttd.org> | 2012-11-12 20:14:08 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-12 20:14:08 +0000 |
commit | ce87b8fc63c424fcb403130b2a5cf0dcf7c2980d (patch) | |
tree | e4b2ae5f02b890db45b56a4070f4950f77c42ae0 /src | |
parent | 4471f6bca8fa8c703b9676b1465cbc97875d2aa2 (diff) | |
download | openttd-ce87b8fc63c424fcb403130b2a5cf0dcf7c2980d.tar.xz |
(svn r24717) -Fix [FS#5139]: When starting a scenario apply the local company settings to the new company.
Diffstat (limited to 'src')
-rw-r--r-- | src/saveload/afterload.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index e29889dd5..3475ca709 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -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. */ |