summaryrefslogtreecommitdiff
path: root/src/saveload/goal_sl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload/goal_sl.cpp')
-rw-r--r--src/saveload/goal_sl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/saveload/goal_sl.cpp b/src/saveload/goal_sl.cpp
index 7e2cad491..2dac477d0 100644
--- a/src/saveload/goal_sl.cpp
+++ b/src/saveload/goal_sl.cpp
@@ -46,8 +46,9 @@ static void Load_GOAL()
}
}
-static const ChunkHandler goal_chunk_handlers[] = {
- { 'GOAL', Save_GOAL, Load_GOAL, nullptr, nullptr, CH_TABLE },
+static const ChunkHandler GOAL{ 'GOAL', Save_GOAL, Load_GOAL, nullptr, nullptr, CH_TABLE };
+static const ChunkHandlerRef goal_chunk_handlers[] = {
+ GOAL,
};
extern const ChunkHandlerTable _goal_chunk_handlers(goal_chunk_handlers);