(svn r3895) - Add proper SLE(G)_CONDNULL macros for the empty space reservation in savegames and update where used

- Also add this capability to settings
This commit is contained in:
Darkvater
2006-03-16 00:20:33 +00:00
parent 61bb1d5b9a
commit d9ee10d3b8
9 changed files with 34 additions and 23 deletions

View File

@@ -681,7 +681,7 @@ static const SaveLoad _engine_desc[] = {
SLE_VAR(Engine,player_avail, SLE_UINT8),
// reserve extra space in savegame here. (currently 16 bytes)
SLE_CONDARR(NullStruct,null,SLE_FILE_U64 | SLE_VAR_NULL, 2, 2, SL_MAX_VERSION),
SLE_CONDNULL(16, 2, SL_MAX_VERSION),
SLE_END()
};