summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-07 21:10:57 +0000
committerrubidium <rubidium@openttd.org>2010-08-07 21:10:57 +0000
commit2d3ee123af3c41faf9870abfc8d579c97cc50f2f (patch)
tree2af2196fabea14d3a3fd24575c84c360807b0d36 /src/station_cmd.cpp
parent6d6939f844783e4e2d6a844aa53e0e059303f2f3 (diff)
downloadopenttd-2d3ee123af3c41faf9870abfc8d579c97cc50f2f.tar.xz
(svn r20402) -Codechange: rename the airport/station class id to something slightly more generic
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 28fe6ce74..25e456062 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -2801,7 +2801,7 @@ static void GetTileDesc_Station(TileIndex tile, TileDesc *td)
const StationSpec *spec = GetStationSpec(tile);
if (spec != NULL) {
- td->station_class = GetStationClassName(spec->sclass);
+ td->station_class = GetStationClassName(spec->cls_id);
td->station_name = spec->name;
if (spec->grf_prop.grffile != NULL) {