(svn r20400) -Codechange: let StationSpec use GRFFilePropsBase

This commit is contained in:
rubidium
2010-08-07 20:52:45 +00:00
parent ecb6d8cf74
commit 3285c6ab58
5 changed files with 16 additions and 16 deletions

View File

@@ -2804,8 +2804,8 @@ static void GetTileDesc_Station(TileIndex tile, TileDesc *td)
td->station_class = GetStationClassName(spec->sclass);
td->station_name = spec->name;
if (spec->grffile != NULL) {
const GRFConfig *gc = GetGRFConfig(spec->grffile->grfid);
if (spec->grf_prop.grffile != NULL) {
const GRFConfig *gc = GetGRFConfig(spec->grf_prop.grffile->grfid);
td->grf = gc->GetName();
}
}