summaryrefslogtreecommitdiff
path: root/src/clear_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-03 22:49:03 +0000
committerrubidium <rubidium@openttd.org>2011-11-03 22:49:03 +0000
commit47c5d30b5d967cf5c48f3de1c7ca1ee492f60002 (patch)
treeb733935884805a61a58a0e2f55c57dc08e9499ca /src/clear_cmd.cpp
parente98be8ed244e3d61ae0ae5c28bff8098bc2ff79f (diff)
downloadopenttd-47c5d30b5d967cf5c48f3de1c7ca1ee492f60002.tar.xz
(svn r23084) -Codechange: get rid of a redundant variable
Diffstat (limited to 'src/clear_cmd.cpp')
-rw-r--r--src/clear_cmd.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/clear_cmd.cpp b/src/clear_cmd.cpp
index 5106113d3..65c50771b 100644
--- a/src/clear_cmd.cpp
+++ b/src/clear_cmd.cpp
@@ -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);