From ce87b8fc63c424fcb403130b2a5cf0dcf7c2980d Mon Sep 17 00:00:00 2001 From: frosch Date: Mon, 12 Nov 2012 20:14:08 +0000 Subject: (svn r24717) -Fix [FS#5139]: When starting a scenario apply the local company settings to the new company. --- src/saveload/afterload.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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. */ -- cgit v1.2.3-70-g09d2