changeset 3834:70976113058f draft

(svn r4856) - Newstations: catenary was not drawn on some station tiles
author glx <glx@openttd.org>
date Fri, 12 May 2006 23:44:20 +0000
parents c838fdfb8f60
children 260dc0202591
files newgrf_station.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/newgrf_station.c
+++ b/newgrf_station.c
@@ -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));
 }