(svn r10232) -Fix(r1): _numof_industry_table never was composed of 12 entries. Only 11.
authorbelugas
Wed, 20 Jun 2007 03:03:00 +0000
changeset 6976 1f3da800b6c2
parent 6975 c7e724a3b511
child 6977 4f040c248040
(svn r10232) -Fix(r1): _numof_industry_table never was composed of 12 entries. Only 11.
It never hurt before, but it would have...
src/industry_cmd.cpp
--- a/src/industry_cmd.cpp	Wed Jun 20 03:01:27 2007 +0000
+++ b/src/industry_cmd.cpp	Wed Jun 20 03:03:00 2007 +0000
@@ -1533,7 +1533,7 @@
 	return CreateNewIndustryHelper(tile, type, DC_EXEC, indspec, it);
 }
 
-static const byte _numof_industry_table[5][12] = {
+static const byte _numof_industry_table[5][11] = {
 	/* difficulty settings for number of industries */
 	{0, 0, 0, 0, 0, 0, 0, 0,  0,  0,  0},   //none
 	{0, 1, 1, 1, 1, 1, 1, 1,  1,  1,  1},   //very low