diff options
author | truelight <truelight@openttd.org> | 2004-08-12 17:49:16 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-08-12 17:49:16 +0000 |
commit | 210ada1b514a173de5a2426f99cd25c95b23efaf (patch) | |
tree | acb434304df44af2e1d0721b08cad09b677cf847 /strings.c | |
parent | 4b0d4dd3fe13e78e1766ac06ab891f9d39f1d0aa (diff) | |
download | openttd-210ada1b514a173de5a2426f99cd25c95b23efaf.tar.xz |
(svn r27) -Fix: [1006715] Autorenew issues
-Add: PE_CURRENCY to patchmenu
Diffstat (limited to 'strings.c')
-rw-r--r-- | strings.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |