summaryrefslogtreecommitdiff
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
commit1ca21fb8d912abd83235f1753e9319503146f144 (patch)
tree77853f3d7e8ef7914ef6dbfc4f08f7cd4b9381b3
parentbd80b4fd19532248f807eb6edcf991d4f024be48 (diff)
downloadopenttd-1ca21fb8d912abd83235f1753e9319503146f144.tar.xz
(svn r6122) Fix an off-by-two error in r6108: it should be the index for the last element in the array
-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 {