diff options
author | yexo <yexo@openttd.org> | 2010-09-01 23:14:15 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-09-01 23:14:15 +0000 |
commit | c07fdab16c4a89dda13efa72fdb5c081872de1ce (patch) | |
tree | 04c6eae1387ef0eed4c27d4a5d264ec6c5c85a1a /src/newgrf_airport.cpp | |
parent | e640373475375d2bd2f5f4215b0d58b7002175f7 (diff) | |
download | openttd-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.cpp | 2 |
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) |