summaryrefslogtreecommitdiff
path: root/currency.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-08-25 12:58:52 +0000
committertron <tron@openttd.org>2006-08-25 12:58:52 +0000
commit7c67a5e3657c8d6626a4510d567eeeea73f0129f (patch)
tree77853f3d7e8ef7914ef6dbfc4f08f7cd4b9381b3 /currency.h
parent1f81d83f9c9f9f0d333b0463b3cfd23f9a178943 (diff)
downloadopenttd-7c67a5e3657c8d6626a4510d567eeeea73f0129f.tar.xz
(svn r6122) Fix an off-by-two error in r6108: it should be the index for the last element in the array
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 be4273df5..82ee2901b 100644
--- a/currency.h
+++ b/currency.h
@@ -7,7 +7,7 @@ enum {
CF_NOEURO = 0,
CF_ISEURO = 1,
NUM_CURRENCY = 25,
- CUSTOM_CURRENCY_ID = NUM_CURRENCY + 1,
+ CUSTOM_CURRENCY_ID = NUM_CURRENCY - 1
};
typedef struct {