summaryrefslogtreecommitdiff
path: root/src/saveload/airport_sl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload/airport_sl.cpp')
-rw-r--r--src/saveload/airport_sl.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/saveload/airport_sl.cpp b/src/saveload/airport_sl.cpp
index 6862fc133..3ab852150 100644
--- a/src/saveload/airport_sl.cpp
+++ b/src/saveload/airport_sl.cpp
@@ -34,9 +34,11 @@ static void Load_ATID()
Load_NewGRFMapping(_airporttile_mngr);
}
-static const ChunkHandler airport_chunk_handlers[] = {
- { 'ATID', Save_ATID, Load_ATID, nullptr, nullptr, CH_TABLE },
- { 'APID', Save_APID, Load_APID, nullptr, nullptr, CH_TABLE },
+static const ChunkHandler ATID{ 'ATID', Save_ATID, Load_ATID, nullptr, nullptr, CH_TABLE };
+static const ChunkHandler APID{ 'APID', Save_APID, Load_APID, nullptr, nullptr, CH_TABLE };
+static const ChunkHandlerRef airport_chunk_handlers[] = {
+ ATID,
+ APID,
};
extern const ChunkHandlerTable _airport_chunk_handlers(airport_chunk_handlers);