forked from mirror/OpenTTD
(svn r27) -Fix: [1006715] Autorenew issues
-Add: PE_CURRENCY to patchmenu
This commit is contained in:
@@ -322,6 +322,10 @@ static byte *FormatMonthAndYear(byte *buff, uint16 number)
|
||||
return FormatNoCommaNumber(buff, ymd.year + 1920);
|
||||
}
|
||||
|
||||
uint GetCurrentCurrencyRate() {
|
||||
return (&_currency_specs[_opt.currency])->rate;
|
||||
}
|
||||
|
||||
static byte *FormatGenericCurrency(byte *buff, const CurrencySpec *spec, int64 number, bool compact)
|
||||
{
|
||||
const char *s;
|
||||
|
Reference in New Issue
Block a user