--- a/src/tunnelbridge_cmd.cpp Fri May 25 08:47:40 2007 +0000
+++ b/src/tunnelbridge_cmd.cpp Fri May 25 11:01:44 2007 +0000
@@ -1048,6 +1048,10 @@
pal = psid->pal;
}
+ if (GetRailType(rampsouth) == RAILTYPE_ELECTRIC) {
+ DrawCatenary(ti);
+ }
+
/* draw roof, the component of the bridge which is logically between the vehicle and the camera */
if (axis == AXIS_X) {
y += 12;
@@ -1057,8 +1061,6 @@
if (image & SPRITE_MASK) AddSortableSpriteToDraw(image, pal, x, y, 1, 16, 0x28, z);
}
- if (GetRailType(rampsouth) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
-
psid++;
if (ti->z + 5 == z) {
/* draw poles below for small bridges */