summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-03-19 11:17:52 +0000
committeryexo <yexo@openttd.org>2010-03-19 11:17:52 +0000
commit1579e9ded29b89678e4c56ac82b6907537a920a7 (patch)
treec043257beec5af4474692a648fcc16b39d33c4d2 /src/newgrf.cpp
parentf2743cd5ed72a2d6224ffa828aab796ed771cef2 (diff)
downloadopenttd-1579e9ded29b89678e4c56ac82b6907537a920a7.tar.xz
(svn r19465) -Codechange: support for multi-tile hangars
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;
}