summaryrefslogtreecommitdiff
path: root/src/newgrf_airport.cpp
diff options
context:
space:
mode:
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)