Merge branch 'master' into jgrpp
# Conflicts: # src/cheat_gui.cpp # src/command.cpp # src/command_func.h # src/company_base.h # src/debug.cpp # src/debug.h # src/economy.cpp # src/engine_type.h # src/graph_gui.cpp # src/misc_cmd.cpp # src/misc_cmd.h # src/network/core/os_abstraction.cpp # src/openttd.cpp # src/saveload/saveload.cpp # src/saveload/saveload.h # src/settings_type.h # src/ship_cmd.cpp # src/stdafx.h # src/tests/bitmath_func.cpp # src/town_cmd.cpp # src/town_gui.cpp
This commit is contained in:
		@@ -69,7 +69,7 @@
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* static */ void Game::StartNew()
 | 
			
		||||
/* static */ void Game::StartNew(bool randomise)
 | 
			
		||||
{
 | 
			
		||||
	if (Game::instance != nullptr) return;
 | 
			
		||||
 | 
			
		||||
@@ -83,6 +83,7 @@
 | 
			
		||||
	GameInfo *info = config->GetInfo();
 | 
			
		||||
	if (info == nullptr) return;
 | 
			
		||||
 | 
			
		||||
	if (randomise) config->AddRandomDeviation();
 | 
			
		||||
	config->AnchorUnchangeableSettings();
 | 
			
		||||
 | 
			
		||||
	Backup<CompanyID> cur_company(_current_company, FILE_LINE);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user