industry_cmd.c
changeset 2051 e369160ce2f3
parent 2049 538e73c53f54
child 2061 f5bdffb68ae8
--- a/industry_cmd.c	Wed Jul 13 18:46:51 2005 +0000
+++ b/industry_cmd.c	Wed Jul 13 19:51:31 2005 +0000
@@ -1660,7 +1660,7 @@
 		do {
 			int i = 2000;
 			do {
-				if (CreateNewIndustry(TILE_MASK(Random()), type) != NULL)
+				if (CreateNewIndustry(RandomTile(), type) != NULL)
 					break;
 			} while (--i != 0);
 		} while (--num);