summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-02-28 20:28:08 +0000
committeryexo <yexo@openttd.org>2010-02-28 20:28:08 +0000
commit404df87b1f2e0c6ae8d71dd0ea83b55294f53af3 (patch)
tree868c12ba0cf41427a4c00eff31601f6e45398be4 /src/station_cmd.cpp
parent333249ce501085405afabac8eb61a2c3ed599c0f (diff)
downloadopenttd-404df87b1f2e0c6ae8d71dd0ea83b55294f53af3.tar.xz
(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 337c7bad8..e2e62b91b 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -2741,7 +2741,7 @@ static void GetTileDesc_Station(TileIndex tile, TileDesc *td)
if (spec->grffile != NULL) {
const GRFConfig *gc = GetGRFConfig(spec->grffile->grfid);
- td->grf = gc->name;
+ td->grf = gc->GetName();
}
}
}
@@ -2752,7 +2752,7 @@ static void GetTileDesc_Station(TileIndex tile, TileDesc *td)
if (ats->grf_prop.grffile != NULL) {
const GRFConfig *gc = GetGRFConfig(ats->grf_prop.grffile->grfid);
- td->grf = gc->name;
+ td->grf = gc->GetName();
}
}