summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2011-03-06 15:52:23 +0000
committeralberth <alberth@openttd.org>2011-03-06 15:52:23 +0000
commit5f505a69f3803172746df5f6ed29f5258b76db6c (patch)
tree65c77c45a90b150fe131f47e6c532d78b07e6383 /src/genworld_gui.cpp
parent9fe65f93fea28f573160b85cbcf9505c0d9b2e3b (diff)
downloadopenttd-5f505a69f3803172746df5f6ed29f5258b76db6c.tar.xz
(svn r22211) -Codechange: Unduplicate Off/On strings.
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r--src/genworld_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp
index e8d983fd1..5104154d6 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -381,7 +381,7 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
case GLAND_TOWN_PULLDOWN:
if (_game_mode == GM_EDITOR) {
- SetDParam(0, STR_DISASTERS_OFF);
+ SetDParam(0, STR_CONFIG_SETTING_OFF);
} else if (_settings_newgame.difficulty.number_towns == CUSTOM_TOWN_NUMBER_DIFFICULTY) {
SetDParam(0, STR_NUM_CUSTOM_NUMBER);
SetDParam(1, _settings_newgame.game_creation.custom_town_number);
@@ -390,7 +390,7 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
}
break;
- case GLAND_INDUSTRY_PULLDOWN: SetDParam(0, _game_mode == GM_EDITOR ? STR_DISASTERS_OFF : _num_inds[_settings_newgame.difficulty.industry_density]); break;
+ case GLAND_INDUSTRY_PULLDOWN: SetDParam(0, _game_mode == GM_EDITOR ? STR_CONFIG_SETTING_OFF : _num_inds[_settings_newgame.difficulty.industry_density]); break;
case GLAND_LANDSCAPE_PULLDOWN: SetDParam(0, _landscape[_settings_newgame.game_creation.land_generator]); break;
case GLAND_TREE_PULLDOWN: SetDParam(0, _tree_placer[_settings_newgame.game_creation.tree_placer]); break;
case GLAND_TERRAIN_PULLDOWN: SetDParam(0, _elevations[_settings_newgame.difficulty.terrain_type]); break;