diff options
author | rubidium <rubidium@openttd.org> | 2010-08-11 19:09:26 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-11 19:09:26 +0000 |
commit | cfde445ec95f14d4358eb3dc32972f971f851dda (patch) | |
tree | ab286b48fcbf22b4de4385de0dfbb9471a81458f /src/saveload | |
parent | d6004d17d4f7616cff4f905ada03fa7d1626aa0e (diff) | |
download | openttd-cfde445ec95f14d4358eb3dc32972f971f851dda.tar.xz |
(svn r20450) -Fix: same the airport tile ID mapping as well
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/airport_sl.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
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 }, }; |