From 436eb69a3986fcb1e610ace7c8ee6e6115a37a6e Mon Sep 17 00:00:00 2001 From: belugas Date: Wed, 20 Jun 2007 03:03:00 +0000 Subject: (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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 1f0dfd4e9..d7f7d0566 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -1533,7 +1533,7 @@ Industry *CreateNewIndustry(TileIndex tile, IndustryType type) 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 -- cgit v1.2.3-70-g09d2