News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Bug fix: bridge graphics

Started by Phystam, November 19, 2019, 03:36:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Phystam

Hi james,

Now I think that I have fixed the bridge graphics problem if the bridge has own way graphics.
the problem was from calc_image() function in boden/wege/weg.cc. While the way checks whether it is on the bridge in Standard code, the way does not check it in Extended code despite it is necessary for "has_own_way_graphics" flag.

the github repository is here: https://github.com/Phystam/Simutrans-Extended/tree/bridge-draw

before:


after:

jamespetts

Thank you very much for this and apologies for not being able to look into this before: I have only recently got my new computer running. I have now incorporated this. Thank you again.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.