summaryrefslogtreecommitdiff
path: root/src/saveload/group_sl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload/group_sl.cpp')
-rw-r--r--src/saveload/group_sl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/saveload/group_sl.cpp b/src/saveload/group_sl.cpp
index 77ab23bd8..6c510b6e6 100644
--- a/src/saveload/group_sl.cpp
+++ b/src/saveload/group_sl.cpp
@@ -59,8 +59,9 @@ static void Load_GRPS()
}
}
-static const ChunkHandler group_chunk_handlers[] = {
- { 'GRPS', Save_GRPS, Load_GRPS, nullptr, nullptr, CH_TABLE },
+static const ChunkHandler GRPS{ 'GRPS', Save_GRPS, Load_GRPS, nullptr, nullptr, CH_TABLE };
+static const ChunkHandlerRef group_chunk_handlers[] = {
+ GRPS,
};
extern const ChunkHandlerTable _group_chunk_handlers(group_chunk_handlers);