From bd14084f4061b5f76d5abd2514dc0f369f8d9855 Mon Sep 17 00:00:00 2001 From: smatz Date: Fri, 16 Jan 2009 21:50:55 +0000 Subject: (svn r15116) -Fix (r1): company money weren't correctly converted from TTD(P) savegames --- src/saveload/oldloader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 ), -- cgit v1.2.3-70-g09d2