(svn r20311) -Codechange: don't reserve extra space in the savegame that is never used

This commit is contained in:
yexo
2010-08-02 18:24:09 +00:00
parent 9b9d8088b0
commit dff871b40d
5 changed files with 12 additions and 23 deletions

View File

@@ -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()
};