summaryrefslogtreecommitdiff
path: root/src/saveload/company_sl.cpp
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2012-10-20 22:05:26 +0000
committerplanetmaker <planetmaker@openttd.org>2012-10-20 22:05:26 +0000
commitf2e94237fc6dbca89f06de0befd44c2e9faf3b72 (patch)
tree44e0bb58670faf89266128d139e965a2ae6f3837 /src/saveload/company_sl.cpp
parentb446780f01bdf4b01c43204503d38eb191613741 (diff)
downloadopenttd-f2e94237fc6dbca89f06de0befd44c2e9faf3b72.tar.xz
(svn r24619) -Change: Check for bankruptcy on a monthly basis (ZxBioHazardZx)
Diffstat (limited to 'src/saveload/company_sl.cpp')
-rw-r--r--src/saveload/company_sl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/company_sl.cpp b/src/saveload/company_sl.cpp
index 34309bf9a..5878f31ea 100644
--- a/src/saveload/company_sl.cpp
+++ b/src/saveload/company_sl.cpp
@@ -272,7 +272,7 @@ static const SaveLoad _company_desc[] = {
SLE_VAR(CompanyProperties, num_valid_stat_ent, SLE_UINT8),
- SLE_VAR(CompanyProperties, quarters_of_bankruptcy,SLE_UINT8),
+ SLE_VAR(CompanyProperties, months_of_bankruptcy, SLE_UINT8),
SLE_CONDVAR(CompanyProperties, bankrupt_asked, SLE_FILE_U8 | SLE_VAR_U16, 0, 103),
SLE_CONDVAR(CompanyProperties, bankrupt_asked, SLE_UINT16, 104, SL_MAX_VERSION),
SLE_VAR(CompanyProperties, bankrupt_timeout, SLE_INT16),