mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-04 13:23:46 +00:00
(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:
parent
9d3be49bd3
commit
045bee5229
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user