summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp2
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();