(svn r19176) -Fix [FS#3632] (r17859): when selecting "build many industries" in the scenario editor the "build" button wasn't enabled

This commit is contained in:
yexo 2010-02-20 21:21:54 +00:00
parent 9d3be49bd3
commit 045bee5229

View File

@ -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;
}