(svn r4856) - Newstations: catenary was not drawn on some station tiles
authorglx
Fri, 12 May 2006 23:44:20 +0000
changeset 3834 c0defea10b83
parent 3833 d11fa2ba0fa5
child 3835 781cd44af3bb
(svn r4856) - Newstations: catenary was not drawn on some station tiles
newgrf_station.c
--- a/newgrf_station.c	Fri May 12 21:48:32 2006 +0000
+++ b/newgrf_station.c	Fri May 12 23:44:20 2006 +0000
@@ -720,5 +720,5 @@
 	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));
 }