FS#6670 - Depots draw wrong (backwards) catenary sprite

Attached to Project: OpenTTD
Opened by Jake (EmperorJake) - Thursday, 25 January 2018, 15:41 GMT
Last edited by Peter Nelson (peter1138) - Monday, 05 March 2018, 21:25 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Depots for railtypes with catenary sprites, such as default electrified railway, draw a catenary sprite inside of the depot that is not visible in normal cases. This sprite is the same as the one used for the tunnel portals, but the problem is that the depots show the opposite side, i.e. the wire appears on the back end of the depot, and it is only visible if you use the transparency options to render the depots see-through but not the wires. Or in the case of the vactrain set, sticking out the wrong side of the depot, which is how I found it, and why I would like it fixed.

Here is a screenshot created in a fresh install of the latest nightly (r27967) win10 64 and zbase (so it's more obvious, but it happens in any baseset and OS)


This task depends upon

Closed by  Peter Nelson (peter1138)
Monday, 05 March 2018, 21:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in r27972