industry_cmd.c
changeset 110 a22a6b07904b
parent 61 cd2827156f2a
child 131 16e59d059384
--- a/industry_cmd.c	Sun Aug 22 15:31:23 2004 +0000
+++ b/industry_cmd.c	Sun Aug 22 15:56:56 2004 +0000
@@ -1564,7 +1564,7 @@
 	return i;
 }
 
-static const byte _numof_industry_table[4][12] = {
+static const byte _numof_industry_table[4][12] = {
 	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
 	{0, 1, 1, 1, 2, 2, 3, 3, 4, 4, 5},
 	{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10},
@@ -1574,8 +1574,8 @@
 static void PlaceInitialIndustry(byte type, int amount)
 {
 	int num = _numof_industry_table[_opt.diff.number_industries][amount];
-
-	if (_opt.diff.number_industries != 0)
+
+	if (_opt.diff.number_industries != 0)
 	{
 		assert(num > 0);
 
@@ -1585,7 +1585,7 @@
 				if (CreateNewIndustry(TILE_MASK(Random()), type) != NULL)
 					break; 
 			} while (--i != 0);
-		} while (--num);
+		} while (--num);
 	}
 }