From e3053660c673b0a81691175995ee68d00fac869c Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 20 Jul 2009 11:21:57 +0000 Subject: (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically --- src/subsidy.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/subsidy.cpp') 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; } -- cgit v1.2.3-54-g00ecf