Codechange: Remove FOR_ALL_CHUNK_HANDLERS

Co-Authored-By: Patric Stout <truebrain@openttd.org>
This commit is contained in:
glx22
2021-05-02 22:41:34 +02:00
committed by Loïc Guilloux
parent 3559e55b91
commit c27afdf3f6
35 changed files with 272 additions and 198 deletions

View File

@@ -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);