src/console_cmds.cpp
changeset 9413 7042a8ec3fa8
parent 9354 845e07db4549
child 9420 8a38703928e8
--- a/src/console_cmds.cpp	Thu May 29 11:47:56 2008 +0000
+++ b/src/console_cmds.cpp	Thu May 29 15:13:28 2008 +0000
@@ -926,8 +926,8 @@
 	}
 
 	/* Don't copy the _newgame pointers to the real pointers, so call SwitchMode directly */
-	_settings.game_creation.map_x = MapLogX();
-	_settings.game_creation.map_y = FindFirstBit(MapSizeY());
+	_settings_game.game_creation.map_x = MapLogX();
+	_settings_game.game_creation.map_y = FindFirstBit(MapSizeY());
 	SwitchMode(SM_NEWGAME);
 	return true;
 }
@@ -940,7 +940,7 @@
 		return true;
 	}
 
-	IConsolePrintF(CC_DEFAULT, "Generation Seed: %u", _settings.game_creation.generation_seed);
+	IConsolePrintF(CC_DEFAULT, "Generation Seed: %u", _settings_game.game_creation.generation_seed);
 	return true;
 }
 
@@ -1083,7 +1083,7 @@
 		return true;
 	}
 
-	if (_game_mode == GM_NORMAL && _settings.gui.autosave_on_exit) DoExitSave();
+	if (_game_mode == GM_NORMAL && _settings_client.gui.autosave_on_exit) DoExitSave();
 
 	_exit_game = true;
 	return true;