summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));
}