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
commit436eb69a3986fcb1e610ace7c8ee6e6115a37a6e (patch)
tree4bf26ca5ecb9309885f58567ba928a9c3ba85c1a /src
parenta1942409da915626a43af04c34a606320345a4d1 (diff)
downloadopenttd-436eb69a3986fcb1e610ace7c8ee6e6115a37a6e.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