Changeset - r14247:2f155b9f20db
[Not reviewed]
master
0 1 0
yexo - 15 years ago 2010-01-15 16:37:19
yexo@openttd.org
(svn r18808) -Cleanup: deplicate by using an existing function
1 file changed with 1 insertions and 4 deletions:
0 comments (0 inline, 0 general)
src/openttd.cpp
Show inline comments
 
@@ -826,10 +826,7 @@ static void MakeNewGame(bool from_height
 
	_game_mode = GM_NORMAL;
 

	
 
	ResetGRFConfig(true);
 
	_engine_mngr.ResetToDefaultMapping();
 
	_house_mngr.ResetMapping();
 
	_industile_mngr.ResetMapping();
 
	_industry_mngr.ResetMapping();
 
	InitializeDynamicVariables();
 

	
 
	GenerateWorldSetCallback(&MakeNewGameDone);
 
	GenerateWorld(from_heightmap ? GW_HEIGHTMAP : GW_NEWGAME, 1 << _settings_game.game_creation.map_x, 1 << _settings_game.game_creation.map_y, reset_settings);
0 comments (0 inline, 0 general)