The International Simutrans Forum

 

Author Topic: Bug fix: bridge graphics  (Read 272 times)

0 Members and 1 Guest are viewing this topic.

Offline Phystam jp

  • *
  • Posts: 269
  • Pak256.Ex developer
  • Languages: JP, EN, EO
Bug fix: bridge graphics
« on: November 19, 2019, 03:36:28 PM »
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:
« Last Edit: November 19, 2019, 03:47:44 PM by Phystam »