summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-01-16 21:50:55 +0000
committersmatz <smatz@openttd.org>2009-01-16 21:50:55 +0000
commitbd14084f4061b5f76d5abd2514dc0f369f8d9855 (patch)
tree217bad4579e9440d1b830f66d854cbd5d72dc4bb /src
parentb7b116b1f4d19ad9b2b60cf60dac00b61e3c4e74 (diff)
downloadopenttd-bd14084f4061b5f76d5abd2514dc0f369f8d9855.tar.xz
(svn r15116) -Fix (r1): company money weren't correctly converted from TTD(P) savegames
Diffstat (limited to 'src')
-rw-r--r--src/saveload/oldloader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saveload/oldloader.cpp b/src/saveload/oldloader.cpp
index b6690d9c1..910188938 100644
--- a/src/saveload/oldloader.cpp
+++ b/src/saveload/oldloader.cpp
@@ -811,8 +811,8 @@ static const OldChunks _company_chunk[] = {
OCL_VAR ( OC_UINT16, 1, &_old_string_id_2 ),
OCL_SVAR( OC_UINT32, Company, president_name_2 ),
- OCL_SVAR( OC_INT32, Company, money ),
- OCL_SVAR( OC_INT32, Company, current_loan ),
+ OCL_SVAR( OC_FILE_I32 | OC_VAR_I64, Company, money ),
+ OCL_SVAR( OC_FILE_I32 | OC_VAR_I64, Company, current_loan ),
OCL_SVAR( OC_UINT8, Company, colour ),
OCL_SVAR( OC_UINT8, Company, money_fraction ),