Bug with catenary wires

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
User avatar
Quast65
Tycoon
Tycoon
Posts: 2654
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Bug with catenary wires

Post by Quast65 »

Hi all,

I think I have spotted a bug with some of the catenarywires.
Example501.png
Example501.png (123.06 KiB) Viewed 2176 times
The game uses the same single-tile upwards catenary-wire graphic for as well a single tile upwards slope as for the upwards ramp of a bridge.
The game however places the wire over the ramp one pixel higher than the wire over the upwards slope (even though the offsets are the same in the code).
Changing the offsets doesnt help, as then the other one isnt aligned correctly anymore.
The far ends (so going down) are correct, those are both placed on the same hight.
Not a huge issue, but a bug anyway I think ;-)

I have used my Qatenary graphics in this case, as it shows the bug a bit better, but its also the same for vanilla wires and other wires.
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 4 guests