(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

@@ -226,9 +226,9 @@ static const SaveLoad _sign_desc[] = {
SLE_VAR(SignStruct,str, SLE_UINT16),
SLE_CONDVAR(SignStruct,x, SLE_FILE_I16 | SLE_VAR_I32, 0, 4),
SLE_CONDVAR(SignStruct,y, SLE_FILE_I16 | SLE_VAR_I32, 0, 4),
SLE_CONDVAR(SignStruct,x, SLE_INT32, 5, 255),
SLE_CONDVAR(SignStruct,y, SLE_INT32, 5, 255),
SLE_CONDVAR(SignStruct,owner, SLE_UINT8, 6, 255),
SLE_CONDVAR(SignStruct,x, SLE_INT32, 5, SL_MAX_VERSION),
SLE_CONDVAR(SignStruct,y, SLE_INT32, 5, SL_MAX_VERSION),
SLE_CONDVAR(SignStruct,owner, SLE_UINT8, 6, SL_MAX_VERSION),
SLE_VAR(SignStruct,z, SLE_UINT8),
SLE_END()
};