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/town_cmd.cpp | |
parent | 333249ce501085405afabac8eb61a2c3ed599c0f (diff) | |
download | openttd-404df87b1f2e0c6ae8d71dd0ea83b55294f53af3.tar.xz |
(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r-- | src/town_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 28c2fe032..67d6c7546 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -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; |