diff options
author | truelight <truelight@openttd.org> | 2004-12-31 14:43:47 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-31 14:43:47 +0000 |
commit | d32bfd8adbeda4a719308c201c1153071e5d78f9 (patch) | |
tree | 213f5bcd7cf485d7c8fca9895ce223c25baea709 /settings_gui.c | |
parent | 62146b0f3b182c67f8be927051105631df4c760d (diff) | |
download | openttd-d32bfd8adbeda4a719308c201c1153071e5d78f9.tar.xz |
(svn r1307) -Fix/feature: rewrote the townname generation code. Code is much more
readable now. 'American' is replaces by 'Additional English' (Jango)
Diffstat (limited to 'settings_gui.c')
-rw-r--r-- | settings_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings_gui.c b/settings_gui.c index 8e7790f34..f92463b5b 100644 --- a/settings_gui.c +++ b/settings_gui.c @@ -76,7 +76,7 @@ static void GameOptionsWndProc(Window *w, WindowEvent *e) SetDParam(1, _currency_string_list[_opt_mod_ptr->currency]); SetDParam(2, _opt_mod_ptr->kilometers + STR_0139_IMPERIAL_MILES); SetDParam(3, STR_02E9_DRIVE_ON_LEFT + _opt_mod_ptr->road_side); - SetDParam(4, STR_TOWNNAME_ENGLISH + _opt_mod_ptr->town_name); + SetDParam(4, STR_TOWNNAME_ORIGINAL_ENGLISH + _opt_mod_ptr->town_name); SetDParam(5, _autosave_dropdown[_opt_mod_ptr->autosave]); SetDParam(6, SPECSTR_LANGUAGE_START + _dynlang.curr); i = GetCurRes(); @@ -103,7 +103,7 @@ static void GameOptionsWndProc(Window *w, WindowEvent *e) } case 14: { int i = _opt_mod_ptr->town_name; - ShowDropDownMenu(w, BuildDynamicDropdown(STR_TOWNNAME_ENGLISH, SPECSTR_TOWNNAME_LAST - SPECSTR_TOWNNAME_START + 1), i, e->click.widget, (_game_mode == GM_MENU) ? 0 : (-1) ^ (1 << i)); + ShowDropDownMenu(w, BuildDynamicDropdown(STR_TOWNNAME_ORIGINAL_ENGLISH, SPECSTR_TOWNNAME_LAST - SPECSTR_TOWNNAME_START + 1), i, e->click.widget, (_game_mode == GM_MENU) ? 0 : (-1) ^ (1 << i)); return; } case 17: |