(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info
This commit is contained in:
@@ -660,7 +660,7 @@ static void GetTileDesc_Town(TileIndex tile, TileDesc *td)
|
||||
|
||||
if (hs->grffile != NULL) {
|
||||
const GRFConfig *gc = GetGRFConfig(hs->grffile->grfid);
|
||||
td->grf = gc->name;
|
||||
td->grf = gc->GetName();
|
||||
}
|
||||
|
||||
td->owner[0] = OWNER_TOWN;
|
||||
|
Reference in New Issue
Block a user