--- a/src/tree_cmd.cpp Thu Aug 30 13:09:44 2007 +0000
+++ b/src/tree_cmd.cpp Thu Aug 30 17:17:04 2007 +0000
@@ -656,6 +656,11 @@
_trees_tick_ctr = 0;
}
+static CommandCost TerraformTile_Trees(TileIndex tile, uint32 flags, uint z_new, Slope tileh_new)
+{
+ return DoCommand(tile, 0, 0, flags, CMD_LANDSCAPE_CLEAR);
+}
+
extern const TileTypeProcs _tile_type_trees_procs = {
DrawTile_Trees, /* draw_tile_proc */
@@ -671,4 +676,5 @@
NULL, /* get_produced_cargo_proc */
NULL, /* vehicle_enter_tile_proc */
GetFoundation_Trees, /* get_foundation_proc */
+ TerraformTile_Trees, /* terraform_tile_proc */
};