diff options
Diffstat (limited to 'src/saveload/animated_tile_sl.cpp')
-rw-r--r-- | src/saveload/animated_tile_sl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/saveload/animated_tile_sl.cpp b/src/saveload/animated_tile_sl.cpp index 50fe05df2..607c2ed97 100644 --- a/src/saveload/animated_tile_sl.cpp +++ b/src/saveload/animated_tile_sl.cpp @@ -68,8 +68,9 @@ static void Load_ANIT() if (SlIterateArray() != -1) SlErrorCorrupt("Too many ANIT entries"); } -static const ChunkHandler animated_tile_chunk_handlers[] = { - { 'ANIT', Save_ANIT, Load_ANIT, nullptr, nullptr, CH_TABLE }, +static const ChunkHandler ANIT{ 'ANIT', Save_ANIT, Load_ANIT, nullptr, nullptr, CH_TABLE }; +static const ChunkHandlerRef animated_tile_chunk_handlers[] = { + ANIT, }; extern const ChunkHandlerTable _animated_tile_chunk_handlers(animated_tile_chunk_handlers); |