summaryrefslogtreecommitdiff
path: root/currency.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-09-27 20:55:42 +0000
committertron <tron@openttd.org>2005-09-27 20:55:42 +0000
commit6249dd46ad3b1b23ae959f57a0def00cf98dd8ee (patch)
tree9531eb35ea928a52105ec058a27e4be704633242 /currency.c
parent5f3bb18eb70826d1e35351112b50a5bbce3af799 (diff)
downloadopenttd-6249dd46ad3b1b23ae959f57a0def00cf98dd8ee.tar.xz
(svn r2994) Another small hack regarding currencies: add a #define to emulate a variable, that holds the current currency; again this should increase readability
Diffstat (limited to 'currency.c')
-rw-r--r--currency.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/currency.c b/currency.c
index b6d5c14d4..fef688596 100644
--- a/currency.c
+++ b/currency.c
@@ -89,12 +89,6 @@ uint GetMaskOfAllowedCurrencies(void)
}
-uint GetCurrentCurrencyRate(void)
-{
- return _currency_specs[_opt_ptr->currency].rate;
-}
-
-
void CheckSwitchToEuro(void)
{
if (_currency_specs[_opt.currency].to_euro != CF_NOEURO &&