summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-03-29 16:30:26 +0000
committercelestar <celestar@openttd.org>2006-03-29 16:30:26 +0000
commit6c44bf50128ccd39a5ba7ba3298634d1298cab03 (patch)
treec1903bfd394f761768fa9d907c58a76229e1b2f8 /station_cmd.c
parentf6662e056ddbf15463827b524a343b67dd5a3440 (diff)
downloadopenttd-6c44bf50128ccd39a5ba7ba3298634d1298cab03.tar.xz
(svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/station_cmd.c b/station_cmd.c
index 986e73241..1cbad1c0d 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -1959,6 +1959,8 @@ static void DrawTile_Station(TileInfo *ti)
// but this is something else. If AI builds station with 114 it looks all weird
DrawGroundSprite(image);
+ if (GB(_m[ti->tile].m3, 0, 4) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
+
foreach_draw_tile_seq(dtss, t->seq) {
image = dtss->image + relocation;
image += offset;