src/tunnelbridge_cmd.cpp
changeset 9034 506e4aef33b6
parent 8973 749e572f9378
child 9070 dd0121143eba
--- a/src/tunnelbridge_cmd.cpp	Wed Apr 23 19:07:18 2008 +0000
+++ b/src/tunnelbridge_cmd.cpp	Wed Apr 23 19:47:23 2008 +0000
@@ -886,8 +886,6 @@
 				}
 			}
 		} else if (!IsInvisibilitySet(TO_CATENARY) && HasCatenary(GetRailType(ti->tile))) {
-			DrawCatenary(ti);
-
 			catenary = true;
 			StartSpriteCombine();
 			DrawCatenaryOnTunnel(ti);
@@ -1089,7 +1087,7 @@
 			StartSpriteCombine();
 		}
 	} else if (HasCatenary(GetRailType(rampsouth))) {
-		DrawCatenary(ti);
+		DrawCatenaryOnBridge(ti);
 	}
 
 	/* draw roof, the component of the bridge which is logically between the vehicle and the camera */