src/industry_cmd.cpp
changeset 5909 35595e20c0c4
parent 5884 0c9a9c61ca76
child 6091 c8827d9ae04a
--- a/src/industry_cmd.cpp	Fri Feb 02 15:04:59 2007 +0000
+++ b/src/industry_cmd.cpp	Fri Feb 02 15:14:28 2007 +0000
@@ -25,6 +25,7 @@
 #include "genworld.h"
 #include "date.h"
 #include "water_map.h"
+#include "tree_map.h"
 
 void ShowIndustryViewWindow(int industry);
 void BuildOilRig(TileIndex tile);
@@ -865,7 +866,7 @@
  */
 static bool SearchLumberMillTrees(TileIndex tile, uint32 data)
 {
-	if (IsTileType(tile, MP_TREES)) {
+	if (IsTileType(tile, MP_TREES) && GetTreeGrowth(tile) > 2) { ///< 3 and up means all fully grown trees
 		PlayerID old_player = _current_player;
 		/* found a tree */
 
@@ -875,7 +876,6 @@
 		SndPlayTileFx(SND_38_CHAINSAW, tile);
 
 		DoCommand(tile, 0, 0, DC_EXEC, CMD_LANDSCAPE_CLEAR);
-		SetTropicZone(tile, TROPICZONE_INVALID);
 
 		_current_player = old_player;
 		return true;