summaryrefslogtreecommitdiff
path: root/industry_cmd.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-03-16 00:20:33 +0000
committerDarkvater <darkvater@openttd.org>2006-03-16 00:20:33 +0000
commitd9ee10d3b835e713a117df6f8ffae20e3bf3b27e (patch)
treeac6cdd2863b4bb080d7d84f5549642dad620393f /industry_cmd.c
parent61bb1d5b9af4e8a5d49fc8b70b2749e35f4861d1 (diff)
downloadopenttd-d9ee10d3b835e713a117df6f8ffae20e3bf3b27e.tar.xz
(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
Diffstat (limited to 'industry_cmd.c')
-rw-r--r--industry_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/industry_cmd.c b/industry_cmd.c
index daa23e65c..4026f7c4d 100644
--- a/industry_cmd.c
+++ b/industry_cmd.c
@@ -1935,7 +1935,7 @@ static const SaveLoad _industry_desc[] = {
SLE_VAR(Industry,was_cargo_delivered,SLE_UINT8),
// reserve extra space in savegame here. (currently 32 bytes)
- SLE_CONDARR(NullStruct,null,SLE_FILE_U64 | SLE_VAR_NULL, 4, 2, SL_MAX_VERSION),
+ SLE_CONDNULL(32, 2, SL_MAX_VERSION),
SLE_END()
};