diff options
author | rubidium <rubidium@openttd.org> | 2010-08-07 20:52:45 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-07 20:52:45 +0000 |
commit | b6a0806948583a9551df6ae3601a7310e648207d (patch) | |
tree | e40ab7b652a3de753034576c0269c914a74bf85f /src/station_cmd.cpp | |
parent | 178f74c31cd79ac248308a6fa389e5aa223b0895 (diff) | |
download | openttd-b6a0806948583a9551df6ae3601a7310e648207d.tar.xz |
(svn r20400) -Codechange: let StationSpec use GRFFilePropsBase
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 8e7136543..28fe6ce74 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -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(); } } |