Mercurial > hg > openttd
changeset 15776:dcbb01a539ea draft
(svn r20450) -Fix: same the airport tile ID mapping as well
author | rubidium <rubidium@openttd.org> |
---|---|
date | Wed, 11 Aug 2010 19:09:26 +0000 |
parents | 95f3cea619b3 |
children | b7e37b045c86 |
files | src/saveload/airport_sl.cpp |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/saveload/airport_sl.cpp +++ b/src/saveload/airport_sl.cpp @@ -24,6 +24,17 @@ 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 }, };