forked from mirror/OpenTTD
(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:
@@ -155,6 +155,7 @@ class BuildIndustryWindow : public Window {
|
|||||||
|
|
||||||
if (_game_mode == GM_EDITOR) { // give room for the Many Random "button"
|
if (_game_mode == GM_EDITOR) { // give room for the Many Random "button"
|
||||||
this->index[this->count] = INVALID_INDUSTRYTYPE;
|
this->index[this->count] = INVALID_INDUSTRYTYPE;
|
||||||
|
this->enabled[this->count] = true;
|
||||||
this->count++;
|
this->count++;
|
||||||
this->timer_enabled = false;
|
this->timer_enabled = false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user