Change: Available railtypes is always calculated on load, so no need to load value for old savegames (#6782)

This commit is contained in:
PeterN
2018-05-19 22:31:46 +01:00
committed by GitHub
parent cad47bbefe
commit 42b43c9983
3 changed files with 3 additions and 4 deletions

View File

@@ -259,7 +259,7 @@ static const SaveLoad _company_desc[] = {
SLE_VAR(CompanyProperties, colour, SLE_UINT8),
SLE_VAR(CompanyProperties, money_fraction, SLE_UINT8),
SLE_CONDVAR(CompanyProperties, avail_railtypes, SLE_VAR_I32 | SLE_FILE_I8, 0, 57),
SLE_CONDNULL(1, 0, 57), ///< avail_railtypes
SLE_VAR(CompanyProperties, block_preview, SLE_UINT8),
SLE_CONDNULL(2, 0, 93), ///< cargo_types