(svn r20422) -Change [FS#3947]: Resolve tracksprites on bridges always using the southern bridgehead as tile.

This commit is contained in:
frosch
2010-08-09 07:30:50 +00:00
parent 548f2cbf4e
commit 12ed2a7597
3 changed files with 4 additions and 4 deletions

View File

@@ -503,14 +503,14 @@ void DrawCatenaryOnBridge(const TileInfo *ti)
height = GetBridgeHeight(end);
SpriteID wire_base = GetWireBase(start);
SpriteID wire_base = GetWireBase(end);
AddSortableSpriteToDraw(wire_base + sss->image_offset, PAL_NONE, ti->x + sss->x_offset, ti->y + sss->y_offset,
sss->x_size, sss->y_size, sss->z_size, height + sss->z_offset,
IsTransparencySet(TO_CATENARY)
);
SpriteID pylon_base = GetPylonBase(start);
SpriteID pylon_base = GetPylonBase(end);
/* Finished with wires, draw pylons
* every other tile needs a pylon on the northern end */