changeset 4380:dd585851c222 draft

(svn r6122) Fix an off-by-two error in r6108: it should be the index for the last element in the array
author tron <tron@openttd.org>
date Fri, 25 Aug 2006 12:58:52 +0000
parents e96444d2a9fb
children 424ca5471df1
files currency.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/currency.h
+++ b/currency.h
@@ -7,7 +7,7 @@
 	CF_NOEURO = 0,
 	CF_ISEURO = 1,
 	NUM_CURRENCY = 25,
-	CUSTOM_CURRENCY_ID = NUM_CURRENCY + 1,
+	CUSTOM_CURRENCY_ID = NUM_CURRENCY - 1
 };
 
 typedef struct {