summaryrefslogtreecommitdiff
path: root/src/saveload/storage_sl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload/storage_sl.cpp')
-rw-r--r--src/saveload/storage_sl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/saveload/storage_sl.cpp b/src/saveload/storage_sl.cpp
index 4838e9f12..4a360d58d 100644
--- a/src/saveload/storage_sl.cpp
+++ b/src/saveload/storage_sl.cpp
@@ -50,8 +50,9 @@ static void Save_PSAC()
}
}
-static const ChunkHandler persistent_storage_chunk_handlers[] = {
- { 'PSAC', Save_PSAC, Load_PSAC, nullptr, nullptr, CH_TABLE },
+static const ChunkHandler PSAC{ 'PSAC', Save_PSAC, Load_PSAC, nullptr, nullptr, CH_TABLE };
+static const ChunkHandlerRef persistent_storage_chunk_handlers[] = {
+ PSAC,
};
extern const ChunkHandlerTable _persistent_storage_chunk_handlers(persistent_storage_chunk_handlers);