(svn r4856) - Newstations: catenary was not drawn on some station tiles

This commit is contained in:
glx 2006-05-12 23:44:20 +00:00
parent d926fa9f60
commit 56862a8997

View File

@ -720,5 +720,5 @@ bool IsStationTileElectrifiable(TileIndex tile)
statspec = st->speclist[specindex].spec; statspec = st->speclist[specindex].spec;
if (statspec == NULL) return false; if (statspec == NULL) return false;
return HASBIT(statspec->pylons, GetStationGfx(tile)); return HASBIT(statspec->pylons, GetStationGfx(tile)) || !HASBIT(statspec->wires, GetStationGfx(tile));
} }