1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-13 01:29:10 +00:00

(svn r10232) -Fix(r1): _numof_industry_table never was composed of 12 entries. Only 11.

It never hurt before, but it would have...
This commit is contained in:
belugas
2007-06-20 03:03:00 +00:00
parent a1942409da
commit 436eb69a39

View File

@@ -1533,7 +1533,7 @@ Industry *CreateNewIndustry(TileIndex tile, IndustryType type)
return CreateNewIndustryHelper(tile, type, DC_EXEC, indspec, it); 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 */ /* difficulty settings for number of industries */
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, //none {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 {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, //very low