newgrf_station.c
changeset 3834 c0defea10b83
parent 3792 67c865c9315c
child 3893 ced26054ee00
equal deleted inserted replaced
3833:d11fa2ba0fa5 3834:c0defea10b83
   718 	if (specindex >= st->num_specs) return false;
   718 	if (specindex >= st->num_specs) return false;
   719 
   719 
   720 	statspec = st->speclist[specindex].spec;
   720 	statspec = st->speclist[specindex].spec;
   721 	if (statspec == NULL) return false;
   721 	if (statspec == NULL) return false;
   722 
   722 
   723 	return HASBIT(statspec->pylons, GetStationGfx(tile));
   723 	return HASBIT(statspec->pylons, GetStationGfx(tile)) || !HASBIT(statspec->wires, GetStationGfx(tile));
   724 }
   724 }