(svn r3627) - Change all hardcoded 255 max-saveload versions with the define SL_MAX_VERSION
This commit is contained in:
2
depot.c
2
depot.c
@@ -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()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user