summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-12-22 19:48:27 +0000
committerdominik <dominik@openttd.org>2004-12-22 19:48:27 +0000
commite297eada070bbbf1cb1a6b204326775f5a7a1a90 (patch)
treea034559700a2823ea4b06304119119f0d10a14c3 /ttd.c
parent51cbbd0438ba770fa02a13ea089d2af318e63231 (diff)
downloadopenttd-e297eada070bbbf1cb1a6b204326775f5a7a1a90.tar.xz
(svn r1233) Fixed several currency issues. Now currencies should work correctly again.
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ttd.c b/ttd.c
index 725af1505..b7fbbffc9 100644
--- a/ttd.c
+++ b/ttd.c
@@ -1185,7 +1185,7 @@ void UpdateExclusiveRights()
*/
}
-byte covert_currency[] = {
+byte convert_currency[] = {
0, 1, 12, 8, 3,
10, 14, 19, 4, 5,
9, 11, 13, 6, 17,
@@ -1195,7 +1195,7 @@ byte covert_currency[] = {
// since savegame version 4.2 the currencies are arranged differently
void UpdateCurrencies()
{
- _opt.currency = covert_currency[_opt.currency];
+ _opt.currency = convert_currency[_opt.currency];
}
extern void UpdateOldAircraft();