summaryrefslogtreecommitdiff
path: root/currency.h
diff options
context:
space:
mode:
Diffstat (limited to 'currency.h')
-rw-r--r--currency.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/currency.h b/currency.h
index 297346273..596428a40 100644
--- a/currency.h
+++ b/currency.h
@@ -21,9 +21,9 @@ extern const StringID _currency_string_list[];
// XXX small hack, but makes the rest of the code a bit nicer to read
#define _custom_currency (_currency_specs[23])
+#define _currency ((const CurrencySpec*)&_currency_specs[_opt_ptr->currency])
uint GetMaskOfAllowedCurrencies(void);
-uint GetCurrentCurrencyRate(void);
void CheckSwitchToEuro(void);
#endif /* CURRENCY_H */