Changeset - r19762:92e803d6d7ef
[Not reviewed]
master
0 1 0
frosch - 12 years ago 2012-11-12 20:14:08
frosch@openttd.org
(svn r24717) -Fix [FS#5139]: When starting a scenario apply the local company settings to the new company.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/saveload/afterload.cpp
Show inline comments
 
@@ -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. */
0 comments (0 inline, 0 general)