summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-06-20 03:03:00 +0000
committerbelugas <belugas@openttd.org>2007-06-20 03:03:00 +0000
commitd4632dee67ae89beb6b2f00f4875f55f2d97a985 (patch)
tree4bf26ca5ecb9309885f58567ba928a9c3ba85c1a /src
parent168eee00cda5fae3545e2464425b75634d607ab8 (diff)
downloadopenttd-d4632dee67ae89beb6b2f00f4875f55f2d97a985.tar.xz
(svn r10232) -Fix(r1): _numof_industry_table never was composed of 12 entries. Only 11.
It never hurt before, but it would have...
Diffstat (limited to 'src')
-rw-r--r--src/industry_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
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