summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--terraform_gui.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/terraform_gui.c b/terraform_gui.c
index 154d7d230..72b2a53a7 100644
--- a/terraform_gui.c
+++ b/terraform_gui.c
@@ -158,8 +158,6 @@ void PlaceProc_LevelLand(TileIndex tile)
VpStartPlaceSizing(tile, VPM_X_AND_Y | GUI_PlaceProc_LevelArea);
}
-static void PlaceProc_PlantTree(TileIndex tile) {}
-
static void TerraformClick_Lower(Window *w)
{
HandlePlacePushButton(w, 4, ANIMCURSOR_LOWERLAND, 2, PlaceProc_LowerLand);
@@ -187,7 +185,8 @@ static void TerraformClick_BuyLand(Window *w)
static void TerraformClick_Trees(Window *w)
{
- if (HandlePlacePushButton(w, 9, SPR_CURSOR_MOUSE, 1, PlaceProc_PlantTree)) ShowBuildTreesToolbar();
+ /* This button is NOT a place-push-button, so don't treat it as such */
+ ShowBuildTreesToolbar();
}
static void TerraformClick_PlaceSign(Window *w)