mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 13:39:09 +00:00
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
This commit is contained in:
@@ -218,7 +218,7 @@ static void TileLoop_Clear(TileIndex tile)
|
||||
{
|
||||
TileLoopClearHelper(tile);
|
||||
|
||||
switch (_settings.game_creation.landscape) {
|
||||
switch (_settings_game.game_creation.landscape) {
|
||||
case LT_TROPIC: TileLoopClearDesert(tile); break;
|
||||
case LT_ARCTIC: TileLoopClearAlps(tile); break;
|
||||
}
|
||||
@@ -346,7 +346,7 @@ static void ChangeTileOwner_Clear(TileIndex tile, PlayerID old_player, PlayerID
|
||||
|
||||
void InitializeClearLand()
|
||||
{
|
||||
_settings.game_creation.snow_line = _settings.game_creation.snow_line_height * TILE_HEIGHT;
|
||||
_settings_game.game_creation.snow_line = _settings_game.game_creation.snow_line_height * TILE_HEIGHT;
|
||||
}
|
||||
|
||||
static CommandCost TerraformTile_Clear(TileIndex tile, uint32 flags, uint z_new, Slope tileh_new)
|
||||
|
Reference in New Issue
Block a user