(svn r20716) -Feature: add airport class and airport name to the land info tool

This commit is contained in:
yexo
2010-09-01 23:14:15 +00:00
parent 54a4e97659
commit d82f1b0bab
5 changed files with 30 additions and 3 deletions

View File

@@ -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)