diff options
author | yexo <yexo@openttd.org> | 2010-03-05 23:21:35 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-03-05 23:21:35 +0000 |
commit | a71462bb94e0b1551cdf74734d205eb807915bf7 (patch) | |
tree | 628217c62ed5a163f964920ab534a87f20692a09 /src/newgrf.cpp | |
parent | d03d990f33d9224295e90a1111394206a7cbfd42 (diff) | |
download | openttd-a71462bb94e0b1551cdf74734d205eb807915bf7.tar.xz |
(svn r19325) -Codechange: introduce airport classes and split the default airports in 4 classes
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r-- | src/newgrf.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index aca51117d..788e77cec 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -5907,6 +5907,7 @@ static void ResetNewGRFData() ResetCustomStations(); /* Reset airport-related structures */ + ResetAirportClasses(); ResetCustomAirports(); AirportSpec::ResetAirports(); AirportTileSpec::ResetAirportTiles(); @@ -6633,6 +6634,7 @@ static void AfterLoadGRFs() /* Add all new airports to the airports array. */ FinaliseAirportsArray(); + BindAirportSpecs(); /* Update the townname generators list */ InitGRFTownGeneratorNames(); |