src/industry_cmd.cpp
changeset 9449 240fedf4ed2c
parent 9433 0326fea045b8
child 9509 f6d513c5c7e4
--- a/src/industry_cmd.cpp	Tue Jun 03 00:23:54 2008 +0000
+++ b/src/industry_cmd.cpp	Tue Jun 03 02:20:27 2008 +0000
@@ -995,7 +995,7 @@
 
 	if (!IsIndustryCompleted(tile)) return;  ///< Can't proceed if not completed
 
-	if (CircularTileSearch(tile, 40, SearchLumberMillTrees, 0)) ///< 40x40 tiles  to search
+	if (CircularTileSearch(&tile, 40, SearchLumberMillTrees, 0)) ///< 40x40 tiles  to search
 		i->produced_cargo_waiting[0] = min(0xffff, i->produced_cargo_waiting[0] + 45); ///< Found a tree, add according value to waiting cargo
 }