diff options
author | rubidium <rubidium@openttd.org> | 2007-07-16 23:55:22 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-16 23:55:22 +0000 |
commit | 3dd6362bb8a07e36eaf621bdf5c256087fbbf8c8 (patch) | |
tree | 052fe05961ef6ef6913712ffee40515822018816 /src/rail_cmd.cpp | |
parent | 0f8e7e79bed67ccaa578b5d25ba250aa2051381e (diff) | |
download | openttd-3dd6362bb8a07e36eaf621bdf5c256087fbbf8c8.tar.xz |
(svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs.
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r-- | src/rail_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index 61c6cea01..b0cecc0fc 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -1469,7 +1469,7 @@ static void DrawTile_Track(TileInfo *ti) } if (statspec->renderdata == NULL) { - dts = GetStationTileLayout(gfx); + dts = GetStationTileLayout(STATION_RAIL, gfx); } else { dts = &statspec->renderdata[(gfx < statspec->tiles ? gfx : 0) + GetWaypointAxis(ti->tile)]; } |