(svn r3627) - Change all hardcoded 255 max-saveload versions with the define SL_MAX_VERSION

This commit is contained in:
Darkvater
2006-02-20 19:43:26 +00:00
parent 6d89d2bfa1
commit bf27f0c77b
11 changed files with 98 additions and 98 deletions

View File

@@ -1075,9 +1075,9 @@ static const SaveLoad _subsidies_desc[] = {
SLE_VAR(Subsidy,cargo_type, SLE_UINT8),
SLE_VAR(Subsidy,age, SLE_UINT8),
SLE_CONDVAR(Subsidy,from, SLE_FILE_U8 | SLE_VAR_U16, 0, 4),
SLE_CONDVAR(Subsidy,from, SLE_UINT16, 5, 255),
SLE_CONDVAR(Subsidy,from, SLE_UINT16, 5, SL_MAX_VERSION),
SLE_CONDVAR(Subsidy,to, SLE_FILE_U8 | SLE_VAR_U16, 0, 4),
SLE_CONDVAR(Subsidy,to, SLE_UINT16, 5, 255),
SLE_CONDVAR(Subsidy,to, SLE_UINT16, 5, SL_MAX_VERSION),
SLE_END()
};