summaryrefslogtreecommitdiff
path: root/gfxinit.c
diff options
context:
space:
mode:
authorrichk <richk@openttd.org>2006-06-23 22:05:40 +0000
committerrichk <richk@openttd.org>2006-06-23 22:05:40 +0000
commita832ca51feb61319cccd8501bbb9020df2135a9f (patch)
treee99c13a6de64e812b421e6c8a3019920196c8667 /gfxinit.c
parentea5f3af9b823bd2985ad2532acb58de5fa2ed6a2 (diff)
downloadopenttd-a832ca51feb61319cccd8501bbb9020df2135a9f.tar.xz
(svn r5346) - Feature: Add 4 new airports. 2 for aircraft, 2 for helicopters.
Commuter airport: Small. 5x4. 3 terminals, 2 helipads. Intercontinental: massive. 9x11. 8 terminals, 2 helipads, 4 runways. Helidepot: a small heliport with a depot for helis only. Helistation: a large heliport with 3 helipads and a depot.
Diffstat (limited to 'gfxinit.c')
-rw-r--r--gfxinit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gfxinit.c b/gfxinit.c
index 0d31c7123..522687627 100644
--- a/gfxinit.c
+++ b/gfxinit.c
@@ -368,6 +368,9 @@ static void LoadSpriteTables(void)
LoadGrfIndexed("openttd.grf", _openttd_grf_indexes, i++);
load_index = SPR_OPENTTD_BASE + OPENTTD_SPRITES_COUNT;
+ assert(load_index == SPR_AIRPORTX_BASE);
+ load_index += LoadGrfFile("airports.grf", load_index, i++);
+
LoadNewGRF(load_index, i);
}