(svn r4487) - Codechange: replace the custom currency magic number 23 with a define

This commit is contained in:
peter1138
2006-04-20 21:13:08 +00:00
parent 92d8af75db
commit 5ddf986c8d
4 changed files with 5 additions and 5 deletions

View File

@@ -84,7 +84,7 @@ uint GetMaskOfAllowedCurrencies(void)
if (to_euro == CF_ISEURO && _cur_year < 2000 - MAX_YEAR_BEGIN_REAL) continue;
mask |= (1 << i);
}
mask |= (1 << 23); // always allow custom currency
mask |= (1 << CUSTOM_CURRENCY_ID); // always allow custom currency
return mask;
}