summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-09-01 12:14:57 +0000
committerrubidium <rubidium@openttd.org>2009-09-01 12:14:57 +0000
commit317f34b3d23a714a067c3b4d3af5b45df066ed7c (patch)
treeef2df712ab208f186da72bca92301aeab4d4e008 /src/saveload
parent07d2af338e237889ff453a3a774522b9b0021439 (diff)
downloadopenttd-317f34b3d23a714a067c3b4d3af5b45df066ed7c.tar.xz
(svn r17340) -Fix: old loader tried to load a uint8 into a uint16
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/oldloader_sl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/oldloader_sl.cpp b/src/saveload/oldloader_sl.cpp
index ca6762d98..aea9f4938 100644
--- a/src/saveload/oldloader_sl.cpp
+++ b/src/saveload/oldloader_sl.cpp
@@ -985,7 +985,7 @@ static const OldChunks _company_chunk[] = {
OCL_SVAR( OC_UINT8, Company, colour ),
OCL_SVAR( OC_UINT8, Company, money_fraction ),
OCL_SVAR( OC_UINT8, Company, quarters_of_bankrupcy ),
- OCL_SVAR( OC_UINT8, Company, bankrupt_asked ),
+ OCL_SVAR( OC_FILE_U8 | OC_VAR_U16, Company, bankrupt_asked ),
OCL_SVAR( OC_FILE_U32 | OC_VAR_I64, Company, bankrupt_value ),
OCL_SVAR( OC_UINT16, Company, bankrupt_timeout ),