diff options
author | glx <glx@openttd.org> | 2006-05-12 23:44:20 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2006-05-12 23:44:20 +0000 |
commit | e9fcaf12279936dfd188b71c5f31ae3e1ff51cc2 (patch) | |
tree | f0b796ae56824234c516d286cfbd264b9958e5a5 | |
parent | c2019a32ae58a301e63e1b3418275355654058de (diff) | |
download | openttd-e9fcaf12279936dfd188b71c5f31ae3e1ff51cc2.tar.xz |
(svn r4856) - Newstations: catenary was not drawn on some station tiles
-rw-r--r-- | newgrf_station.c | 2 |
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)); } |