From cfde445ec95f14d4358eb3dc32972f971f851dda Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 11 Aug 2010 19:09:26 +0000 Subject: (svn r20450) -Fix: same the airport tile ID mapping as well --- src/saveload/airport_sl.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/saveload/airport_sl.cpp b/src/saveload/airport_sl.cpp index e0637dbc0..00a4b2b01 100644 --- a/src/saveload/airport_sl.cpp +++ b/src/saveload/airport_sl.cpp @@ -24,6 +24,17 @@ static void Load_APID() Load_NewGRFMapping(_airport_mngr); } +static void Save_ATID() +{ + Save_NewGRFMapping(_airporttile_mngr); +} + +static void Load_ATID() +{ + Load_NewGRFMapping(_airporttile_mngr); +} + extern const ChunkHandler _airport_chunk_handlers[] = { + { 'ATID', Save_ATID, Load_ATID, NULL, NULL, CH_ARRAY }, { 'APID', Save_APID, Load_APID, NULL, NULL, CH_ARRAY | CH_LAST }, }; -- cgit v1.2.3-70-g09d2