Codechange: Remove STR_COMPANY_MONEY.

This commit is contained in:
Peter Nelson
2023-04-25 09:51:19 +01:00
committed by PeterN
parent f1d0a26324
commit a2d7642195
2 changed files with 2 additions and 3 deletions

View File

@@ -118,7 +118,7 @@ struct StatusBarWindow : Window {
int64 max_money = UINT32_MAX;
for (const Company *c : Company::Iterate()) max_money = std::max<int64>(c->money, max_money);
SetDParam(0, 100LL * max_money);
d = GetStringBoundingBox(STR_COMPANY_MONEY);
d = GetStringBoundingBox(STR_JUST_CURRENCY_LONG);
break;
}
@@ -150,7 +150,7 @@ struct StatusBarWindow : Window {
const Company *c = Company::GetIfValid(_local_company);
if (c != nullptr) {
SetDParam(0, c->money);
DrawString(tr, STR_COMPANY_MONEY, TC_FROMSTRING, SA_HOR_CENTER);
DrawString(tr, STR_JUST_CURRENCY_LONG, TC_WHITE, SA_HOR_CENTER);
}
}
break;