summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-11 19:09:26 +0000
committerrubidium <rubidium@openttd.org>2010-08-11 19:09:26 +0000
commitcfde445ec95f14d4358eb3dc32972f971f851dda (patch)
treeab286b48fcbf22b4de4385de0dfbb9471a81458f /src
parentd6004d17d4f7616cff4f905ada03fa7d1626aa0e (diff)
downloadopenttd-cfde445ec95f14d4358eb3dc32972f971f851dda.tar.xz
(svn r20450) -Fix: same the airport tile ID mapping as well
Diffstat (limited to 'src')
-rw-r--r--src/saveload/airport_sl.cpp11
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 },
};