diff options
author | yexo <yexo@openttd.org> | 2010-02-28 20:28:08 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-02-28 20:28:08 +0000 |
commit | 404df87b1f2e0c6ae8d71dd0ea83b55294f53af3 (patch) | |
tree | 868c12ba0cf41427a4c00eff31601f6e45398be4 /src/industry_cmd.cpp | |
parent | 333249ce501085405afabac8eb61a2c3ed599c0f (diff) | |
download | openttd-404df87b1f2e0c6ae8d71dd0ea83b55294f53af3.tar.xz |
(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r-- | src/industry_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } } |