From c07fdab16c4a89dda13efa72fdb5c081872de1ce Mon Sep 17 00:00:00 2001 From: yexo Date: Wed, 1 Sep 2010 23:14:15 +0000 Subject: (svn r20716) -Feature: add airport class and airport name to the land info tool --- src/newgrf_airport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf_airport.cpp') diff --git a/src/newgrf_airport.cpp b/src/newgrf_airport.cpp index 6a3b0b0ba..d808936a2 100644 --- a/src/newgrf_airport.cpp +++ b/src/newgrf_airport.cpp @@ -207,7 +207,7 @@ static void NewAirportResolver(ResolverObject *res, TileIndex tile, Station *st, res->count = 0; const AirportSpec *as = AirportSpec::Get(airport_id); - res->grffile = (as != NULL ? as->grf_prop.grffile : NULL); + res->grffile = as->grf_prop.grffile; } SpriteID GetCustomAirportSprite(const AirportSpec *as, byte layout) -- cgit v1.2.3-54-g00ecf