diff options
Diffstat (limited to 'src/saveload/strings_sl.cpp')
-rw-r--r-- | src/saveload/strings_sl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/saveload/strings_sl.cpp b/src/saveload/strings_sl.cpp index 70d001e73..7cad1fba6 100644 --- a/src/saveload/strings_sl.cpp +++ b/src/saveload/strings_sl.cpp @@ -130,8 +130,9 @@ static void Load_NAME() } } -static const ChunkHandler name_chunk_handlers[] = { - { 'NAME', nullptr, Load_NAME, nullptr, nullptr, CH_READONLY }, +static const ChunkHandler NAME{ 'NAME', nullptr, Load_NAME, nullptr, nullptr, CH_READONLY }; +static const ChunkHandlerRef name_chunk_handlers[] = { + NAME, }; extern const ChunkHandlerTable _name_chunk_handlers(name_chunk_handlers); |