From 92c2793b39114504a57dacf003fee52101a860b0 Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 1 Aug 2006 06:04:50 +0000 Subject: [PATCH] (svn r5689) Default a station tile to be electrifiable if there is no other information available. I suppose this was a copy&paste error --- newgrf_station.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newgrf_station.c b/newgrf_station.c index 0ffe8989ee..14b1d083b2 100644 --- a/newgrf_station.c +++ b/newgrf_station.c @@ -710,10 +710,10 @@ bool IsStationTileElectrifiable(TileIndex tile) st = GetStationByTile(tile); specindex = GetCustomStationSpecIndex(tile); - if (specindex >= st->num_specs) return false; + if (specindex >= st->num_specs) return true; statspec = st->speclist[specindex].spec; - if (statspec == NULL) return false; + if (statspec == NULL) return true; return HASBIT(statspec->pylons, GetStationGfx(tile)) || !HASBIT(statspec->wires, GetStationGfx(tile)); }