(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 41a7feb101
commit edf2fd1433

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