summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-09-22 13:56:38 +0000
committerrubidium <rubidium@openttd.org>2007-09-22 13:56:38 +0000
commit60f1eb21fa31d64c9b2651a09193a62472174a20 (patch)
tree1f92395e697eada656f8d47222f9f227028ec271 /src/industry_cmd.cpp
parentc68c83dffa2edbf854935effedeac0c4697d5db7 (diff)
downloadopenttd-60f1eb21fa31d64c9b2651a09193a62472174a20.tar.xz
(svn r11139) -Codechange: add support for persistent storage for NewGRFs.
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r--src/industry_cmd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index 45b1ce60d..967462527 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -2074,6 +2074,8 @@ static const SaveLoad _industry_desc[] = {
SLE_CONDVAR(Industry, last_cargo_accepted_at, SLE_INT32, 70, SL_MAX_VERSION),
SLE_CONDVAR(Industry, selected_layout, SLE_UINT8, 73, SL_MAX_VERSION),
+ SLE_CONDARRX(cpp_offsetof(Industry, psa) + cpp_offsetof(Industry::PersistentStorage, storage), SLE_UINT32, 16, 76, SL_MAX_VERSION),
+
/* reserve extra space in savegame here. (currently 32 bytes) */
SLE_CONDNULL(32, 2, SL_MAX_VERSION),