From c27afdf3f6b8e7e073b70d4935ca1c871855f3ca Mon Sep 17 00:00:00 2001 From: glx22 Date: Sun, 2 May 2021 22:41:34 +0200 Subject: Codechange: Remove FOR_ALL_CHUNK_HANDLERS Co-Authored-By: Patric Stout --- src/saveload/ai_sl.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/saveload/ai_sl.cpp') diff --git a/src/saveload/ai_sl.cpp b/src/saveload/ai_sl.cpp index fcb78f2ed..7eb2a5ce1 100644 --- a/src/saveload/ai_sl.cpp +++ b/src/saveload/ai_sl.cpp @@ -120,6 +120,8 @@ static void Save_AIPL() } } -extern const ChunkHandler _ai_chunk_handlers[] = { - { 'AIPL', Save_AIPL, Load_AIPL, nullptr, nullptr, CH_ARRAY | CH_LAST}, +static const ChunkHandler ai_chunk_handlers[] = { + { 'AIPL', Save_AIPL, Load_AIPL, nullptr, nullptr, CH_ARRAY }, }; + +extern const ChunkHandlerTable _ai_chunk_handlers(ai_chunk_handlers); -- cgit v1.2.3-54-g00ecf