Codechange: Use static array of references to ChunkHandler
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user