diff options
author | alberth <alberth@openttd.org> | 2011-02-06 18:11:39 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2011-02-06 18:11:39 +0000 |
commit | d84502c4327343ce2f25bca77febd5eca68cdf6c (patch) | |
tree | 899da5ef5449308db969074dacf155e630fd7db8 /src/industry_gui.cpp | |
parent | a5921c0514bbed9152a1656af33235920d26c54e (diff) | |
download | openttd-d84502c4327343ce2f25bca77febd5eca68cdf6c.tar.xz |
(svn r22000) -Codechange: Introduce an enum for the industry density setting.
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r-- | src/industry_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index 94a09111b..799044975 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -602,7 +602,7 @@ public: this->SetupArrays(); const IndustrySpec *indsp = (this->selected_type == INVALID_INDUSTRYTYPE) ? NULL : GetIndustrySpec(this->selected_type); - if (indsp == NULL) this->enabled[this->selected_index] = _settings_game.difficulty.number_industries != 0; + if (indsp == NULL) this->enabled[this->selected_index] = _settings_game.difficulty.number_industries != ID_FUND_ONLY; this->SetButtons(); } }; |