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
commit675a44b67ffae51cbfa6bbb259813abfc41586d5 (patch)
treea034559700a2823ea4b06304119119f0d10a14c3 /ttd.c
parentd0a1507c34e89005e6e2a7a7c6786b269d4a8058 (diff)
downloadopenttd-675a44b67ffae51cbfa6bbb259813abfc41586d5.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();