Saveload: Use table format for NewGRF/ID mapping chunks

This commit is contained in:
Jonathan G Rennison
2024-02-21 18:57:19 +00:00
parent b3bd1bb5ad
commit 0e262620d2
7 changed files with 38 additions and 25 deletions

View File

@@ -27,7 +27,7 @@ static void Load_OBID()
}
static const ChunkHandler object_chunk_handlers[] = {
{ 'OBID', Save_OBID, Load_OBID, nullptr, nullptr, CH_ARRAY },
{ 'OBID', Save_OBID, Load_OBID, nullptr, nullptr, CH_TABLE },
MakeUpstreamChunkHandler<'OBJS', GeneralUpstreamChunkLoadInfo>(),
};