summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-02-20 21:21:54 +0000
committeryexo <yexo@openttd.org>2010-02-20 21:21:54 +0000
commit045bee52291b4b2ea9a6c5b12f4fb0a880137ea5 (patch)
tree3e87df25752c4d68121fe90e8bddd086d603e3f4 /src
parent9d3be49bd3e5b7622d2358f4c1cd6b0d40f803fe (diff)
downloadopenttd-045bee52291b4b2ea9a6c5b12f4fb0a880137ea5.tar.xz
(svn r19176) -Fix [FS#3632] (r17859): when selecting "build many industries" in the scenario editor the "build" button wasn't enabled
Diffstat (limited to 'src')
-rw-r--r--src/industry_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index e5848dbd1..56ceeb81b 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -155,6 +155,7 @@ class BuildIndustryWindow : public Window {
if (_game_mode == GM_EDITOR) { // give room for the Many Random "button"
this->index[this->count] = INVALID_INDUSTRYTYPE;
+ this->enabled[this->count] = true;
this->count++;
this->timer_enabled = false;
}