summaryrefslogtreecommitdiff
path: root/src/newgrf_airport.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-09-01 23:14:15 +0000
committeryexo <yexo@openttd.org>2010-09-01 23:14:15 +0000
commitc07fdab16c4a89dda13efa72fdb5c081872de1ce (patch)
tree04c6eae1387ef0eed4c27d4a5d264ec6c5c85a1a /src/newgrf_airport.cpp
parente640373475375d2bd2f5f4215b0d58b7002175f7 (diff)
downloadopenttd-c07fdab16c4a89dda13efa72fdb5c081872de1ce.tar.xz
(svn r20716) -Feature: add airport class and airport name to the land info tool
Diffstat (limited to 'src/newgrf_airport.cpp')
-rw-r--r--src/newgrf_airport.cpp2
1 files changed, 1 insertions, 1 deletions
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)