summaryrefslogtreecommitdiff
path: root/gfxinit.c
diff options
context:
space:
mode:
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);
}