(svn r5689) Default a station tile to be electrifiable if there is no other information available. I suppose this was a copy&paste error

pull/155/head
tron 18 years ago
parent 15516f5de5
commit 31e0bae89a

@ -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));
}

Loading…
Cancel
Save