1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-21 21:49:10 +00:00

(svn r23084) -Codechange: get rid of a redundant variable

This commit is contained in:
rubidium
2011-11-03 22:49:03 +00:00
parent e98be8ed24
commit 47c5d30b5d
8 changed files with 15 additions and 22 deletions

View File

@@ -361,11 +361,6 @@ static void ChangeTileOwner_Clear(TileIndex tile, Owner old_owner, Owner new_own
return;
}
void InitializeClearLand()
{
_settings_game.game_creation.snow_line = _settings_game.game_creation.snow_line_height * TILE_HEIGHT;
}
static CommandCost TerraformTile_Clear(TileIndex tile, DoCommandFlag flags, uint z_new, Slope tileh_new)
{
return DoCommand(tile, 0, 0, flags, CMD_LANDSCAPE_CLEAR);