diff options
author | rubidium <rubidium@openttd.org> | 2009-07-20 11:21:57 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-20 11:21:57 +0000 |
commit | e3053660c673b0a81691175995ee68d00fac869c (patch) | |
tree | 2bce56e94620079087ae16f12c62217d4945e596 /src/industry_cmd.cpp | |
parent | dc943b35e092f80bb5e3b972b4d5ed73bbccb546 (diff) | |
download | openttd-e3053660c673b0a81691175995ee68d00fac869c.tar.xz |
(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r-- | src/industry_cmd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 48022dbd8..9b16f57de 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -1724,7 +1724,7 @@ CommandCost CmdBuildIndustry(TileIndex tile, DoCommandFlag flags, uint32 p1, uin if ((flags & DC_EXEC) && _game_mode != GM_EDITOR && ind != NULL) { SetDParam(0, indspec->name); if (indspec->new_industry_text > STR_LAST_STRINGID) { - SetDParam(1, STR_TOWN); + SetDParam(1, STR_TOWN_NAME); SetDParam(2, ind->town->index); } else { SetDParam(1, ind->town->index); @@ -1929,7 +1929,7 @@ static void MaybeNewIndustry() SetDParam(0, ind_spc->name); if (ind_spc->new_industry_text > STR_LAST_STRINGID) { - SetDParam(1, STR_TOWN); + SetDParam(1, STR_TOWN_NAME); SetDParam(2, ind->town->index); } else { SetDParam(1, ind->town->index); @@ -2273,11 +2273,11 @@ static void ChangeIndustryProduction(Industry *i, bool monthly) } /* Set parameters of news string */ if (str > STR_LAST_STRINGID) { - SetDParam(0, STR_TOWN); + SetDParam(0, STR_TOWN_NAME); SetDParam(1, i->town->index); SetDParam(2, indspec->name); } else if (closeit) { - SetDParam(0, STR_INDUSTRY_FORMAT); + SetDParam(0, STR_FORMAT_INDUSTRY_NAME); SetDParam(1, i->town->index); SetDParam(2, indspec->name); } else { |