(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically

This commit is contained in:
rubidium
2009-07-20 11:21:57 +00:00
parent dc943b35e0
commit e3053660c6
62 changed files with 520 additions and 520 deletions

View File

@@ -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;
}