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/subsidy.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/subsidy.cpp')
-rw-r--r-- | src/subsidy.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/subsidy.cpp b/src/subsidy.cpp index 158622a09..04f0df118 100644 --- a/src/subsidy.cpp +++ b/src/subsidy.cpp @@ -62,25 +62,25 @@ Pair SetupSubsidyDecodeParam(const Subsidy *s, bool mode) if (!s->IsAwarded()) { if (cs->town_effect != TE_PASSENGERS && cs->town_effect != TE_MAIL) { - SetDParam(1, STR_INDUSTRY); + SetDParam(1, STR_INDUSTRY_NAME); SetDParam(2, s->from); reftype1 = NR_INDUSTRY; if (cs->town_effect != TE_GOODS && cs->town_effect != TE_FOOD) { - SetDParam(4, STR_INDUSTRY); + SetDParam(4, STR_INDUSTRY_NAME); SetDParam(5, s->to); reftype2 = NR_INDUSTRY; } else { - SetDParam(4, STR_TOWN); + SetDParam(4, STR_TOWN_NAME); SetDParam(5, s->to); reftype2 = NR_TOWN; } } else { - SetDParam(1, STR_TOWN); + SetDParam(1, STR_TOWN_NAME); SetDParam(2, s->from); reftype1 = NR_TOWN; - SetDParam(4, STR_TOWN); + SetDParam(4, STR_TOWN_NAME); SetDParam(5, s->to); reftype2 = NR_TOWN; } |