Add: store headers for most savegame chunks
When a header is added, the chunk changes from CH_ARRAY type to CH_TABLE type.
This commit is contained in:

committed by
Patric Stout

parent
7dd5fd6ed4
commit
cdb3dd0493
@@ -35,8 +35,8 @@ static void Load_ATID()
|
||||
}
|
||||
|
||||
static const ChunkHandler airport_chunk_handlers[] = {
|
||||
{ 'ATID', Save_ATID, Load_ATID, nullptr, nullptr, CH_ARRAY },
|
||||
{ 'APID', Save_APID, Load_APID, nullptr, nullptr, CH_ARRAY },
|
||||
{ 'ATID', Save_ATID, Load_ATID, nullptr, nullptr, CH_TABLE },
|
||||
{ 'APID', Save_APID, Load_APID, nullptr, nullptr, CH_TABLE },
|
||||
};
|
||||
|
||||
extern const ChunkHandlerTable _airport_chunk_handlers(airport_chunk_handlers);
|
||||
|
Reference in New Issue
Block a user