diff options
author | smatz <smatz@openttd.org> | 2009-01-16 21:50:55 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-01-16 21:50:55 +0000 |
commit | e77462a866d3f840d4715e19d3137868d6274ab1 (patch) | |
tree | 217bad4579e9440d1b830f66d854cbd5d72dc4bb /src/saveload | |
parent | c9fab1c31491ddada9dc56a0792d88428e605353 (diff) | |
download | openttd-e77462a866d3f840d4715e19d3137868d6274ab1.tar.xz |
(svn r15116) -Fix (r1): company money weren't correctly converted from TTD(P) savegames
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/oldloader.cpp | 4 |
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 ), |