(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

@@ -108,7 +108,7 @@ void InitializeDepot(void)
static const SaveLoad _depot_desc[] = {
SLE_CONDVAR(Depot, xy, SLE_FILE_U16 | SLE_VAR_U32, 0, 5),
SLE_CONDVAR(Depot, xy, SLE_UINT32, 6, 255),
SLE_CONDVAR(Depot, xy, SLE_UINT32, 6, SL_MAX_VERSION),
SLE_VAR(Depot,town_index, SLE_UINT16),
SLE_END()
};