summaryrefslogtreecommitdiff
path: root/newgrf_station.c
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2006-05-12 23:44:20 +0000
committerglx <glx@openttd.org>2006-05-12 23:44:20 +0000
commit56862a8997c6343d67b68d502035c1648cdd4c36 (patch)
treef0b796ae56824234c516d286cfbd264b9958e5a5 /newgrf_station.c
parentd926fa9f604c2d06c0642c97515bfaac5d7fc31d (diff)
downloadopenttd-56862a8997c6343d67b68d502035c1648cdd4c36.tar.xz
(svn r4856) - Newstations: catenary was not drawn on some station tiles
Diffstat (limited to 'newgrf_station.c')
-rw-r--r--newgrf_station.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_station.c b/newgrf_station.c
index 1f438101b..b1b521eee 100644
--- a/newgrf_station.c
+++ b/newgrf_station.c
@@ -720,5 +720,5 @@ bool IsStationTileElectrifiable(TileIndex tile)
statspec = st->speclist[specindex].spec;
if (statspec == NULL) return false;
- return HASBIT(statspec->pylons, GetStationGfx(tile));
+ return HASBIT(statspec->pylons, GetStationGfx(tile)) || !HASBIT(statspec->wires, GetStationGfx(tile));
}