summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2011-02-06 18:26:50 +0000
committeralberth <alberth@openttd.org>2011-02-06 18:26:50 +0000
commit4364cec392d1352406906a551e3ffa3f72da61ba (patch)
tree086ec0e028aaec75c92364dd1abd492d01672294 /src/industry_gui.cpp
parentd84502c4327343ce2f25bca77febd5eca68cdf6c (diff)
downloadopenttd-4364cec392d1352406906a551e3ffa3f72da61ba.tar.xz
(svn r22001) -Codechange: Rename difficulty.number_industries to difficulty.industry_density.
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r--src/industry_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index 799044975..f3e2c2b1c 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 != ID_FUND_ONLY;
+ if (indsp == NULL) this->enabled[this->selected_index] = _settings_game.difficulty.industry_density != ID_FUND_ONLY;
this->SetButtons();
}
};