summaryrefslogtreecommitdiff
path: root/src/saveload/company_sl.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-08-02 18:24:09 +0000
committeryexo <yexo@openttd.org>2010-08-02 18:24:09 +0000
commitdff871b40d56e05e58636396b74ad4468e11f6a4 (patch)
treeff47ea9b5f4f7a017babe0e67c0e28fa81c574c4 /src/saveload/company_sl.cpp
parent9b9d8088b0a494901bb29c65966d214542f52cbb (diff)
downloadopenttd-dff871b40d56e05e58636396b74ad4468e11f6a4.tar.xz
(svn r20311) -Codechange: don't reserve extra space in the savegame that is never used
Diffstat (limited to 'src/saveload/company_sl.cpp')
-rw-r--r--src/saveload/company_sl.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/saveload/company_sl.cpp b/src/saveload/company_sl.cpp
index ada71cf72..917f29335 100644
--- a/src/saveload/company_sl.cpp
+++ b/src/saveload/company_sl.cpp
@@ -160,8 +160,7 @@ static const SaveLoad _company_settings_desc[] = {
SLE_CONDVAR(Company, settings.vehicle.servint_aircraft, SLE_UINT16, 120, SL_MAX_VERSION),
SLE_CONDVAR(Company, settings.vehicle.servint_ships, SLE_UINT16, 120, SL_MAX_VERSION),
- /* Reserve extra space in savegame here. (currently 63 bytes) */
- SLE_CONDNULL(63, 2, SL_MAX_VERSION),
+ SLE_CONDNULL(63, 2, 143), // old reserved space
SLE_END()
};
@@ -183,8 +182,7 @@ static const SaveLoad _company_settings_skip_desc[] = {
SLE_CONDNULL(2, 120, SL_MAX_VERSION), // settings.vehicle.servint_aircraft
SLE_CONDNULL(2, 120, SL_MAX_VERSION), // settings.vehicle.servint_ships
- /* Reserve extra space in savegame here. (currently 63 bytes) */
- SLE_CONDNULL(63, 2, SL_MAX_VERSION),
+ SLE_CONDNULL(63, 2, 143), // old reserved space
SLE_END()
};