src/industry_cmd.cpp
changeset 7319 9b20d1dbe5d6
parent 7293 e62b277bc10e
child 7333 e48228e44be8
--- a/src/industry_cmd.cpp	Tue Jul 24 17:01:23 2007 +0000
+++ b/src/industry_cmd.cpp	Tue Jul 24 19:56:43 2007 +0000
@@ -1669,7 +1669,7 @@
 
 	/* Find the total amount of industries */
 	if (_opt.diff.number_industries > 0) {
-		for (it = IT_COAL_MINE; it < NUM_INDUSTRYTYPES; it++) {
+		for (it = 0; it < NUM_INDUSTRYTYPES; it++) {
 
 			ind_spc = GetIndustrySpec(it);
 
@@ -1694,7 +1694,7 @@
 	SetGeneratingWorldProgress(GWP_INDUSTRY, i);
 
 	if (_opt.diff.number_industries > 0) {
-		for (it = IT_COAL_MINE; it < NUM_INDUSTRYTYPES; it++) {
+		for (it = 0; it < NUM_INDUSTRYTYPES; it++) {
 			/* Once the number of industries has been determined, let's really create them.
 			 * The test for chance allows us to try create industries that are available only
 			 * for this landscape.