From 404df87b1f2e0c6ae8d71dd0ea83b55294f53af3 Mon Sep 17 00:00:00 2001 From: yexo Date: Sun, 28 Feb 2010 20:28:08 +0000 Subject: (svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info --- src/industry_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/industry_cmd.cpp') diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 36c8eccd4..b9574a8ab 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -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(); } } -- cgit v1.2.3-54-g00ecf