(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info

This commit is contained in:
yexo
2010-02-28 20:28:08 +00:00
parent 333249ce50
commit 404df87b1f
9 changed files with 43 additions and 27 deletions

View File

@@ -457,7 +457,7 @@ static void GetTileDesc_Industry(TileIndex tile, TileDesc *td)
}
if (is->grf_prop.grffile != NULL) {
td->grf = GetGRFConfig(is->grf_prop.grffile->grfid)->name;
td->grf = GetGRFConfig(is->grf_prop.grffile->grfid)->GetName();
}
}