summaryrefslogtreecommitdiff
path: root/src/saveload/depot_sl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload/depot_sl.cpp')
-rw-r--r--src/saveload/depot_sl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/saveload/depot_sl.cpp b/src/saveload/depot_sl.cpp
index c1252562a..b34108c21 100644
--- a/src/saveload/depot_sl.cpp
+++ b/src/saveload/depot_sl.cpp
@@ -62,8 +62,9 @@ static void Ptrs_DEPT()
}
}
-static const ChunkHandler depot_chunk_handlers[] = {
- { 'DEPT', Save_DEPT, Load_DEPT, Ptrs_DEPT, nullptr, CH_TABLE },
+static const ChunkHandler DEPT{ 'DEPT', Save_DEPT, Load_DEPT, Ptrs_DEPT, nullptr, CH_TABLE };
+static const ChunkHandlerRef depot_chunk_handlers[] = {
+ DEPT,
};
extern const ChunkHandlerTable _depot_chunk_handlers(depot_chunk_handlers);