summaryrefslogtreecommitdiff
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
commite9fcaf12279936dfd188b71c5f31ae3e1ff51cc2 (patch)
treef0b796ae56824234c516d286cfbd264b9958e5a5
parentc2019a32ae58a301e63e1b3418275355654058de (diff)
downloadopenttd-e9fcaf12279936dfd188b71c5f31ae3e1ff51cc2.tar.xz
(svn r4856) - Newstations: catenary was not drawn on some station tiles
-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));
}