(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info
This commit is contained in:
@@ -2741,7 +2741,7 @@ static void GetTileDesc_Station(TileIndex tile, TileDesc *td)
|
||||
|
||||
if (spec->grffile != NULL) {
|
||||
const GRFConfig *gc = GetGRFConfig(spec->grffile->grfid);
|
||||
td->grf = gc->name;
|
||||
td->grf = gc->GetName();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2752,7 +2752,7 @@ static void GetTileDesc_Station(TileIndex tile, TileDesc *td)
|
||||
|
||||
if (ats->grf_prop.grffile != NULL) {
|
||||
const GRFConfig *gc = GetGRFConfig(ats->grf_prop.grffile->grfid);
|
||||
td->grf = gc->name;
|
||||
td->grf = gc->GetName();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user