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, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index c2bc7169e..600578430 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -2509,7 +2509,7 @@ static void DuplicateTileTable(AirportSpec *as)
MemCpyT(table_list[i], as->table[i], num_tiles);
}
as->table = table_list;
- TileIndexDiffC *depot_table = MallocT<TileIndexDiffC>(as->nof_depots);
+ HangarTileTable *depot_table = MallocT<HangarTileTable>(as->nof_depots);
MemCpyT(depot_table, as->depot_table, as->nof_depots);
as->depot_table = depot_table;
}