The International Simutrans Forum

 

Author Topic: Removing bridges leaves broken roads r7218  (Read 1678 times)

0 Members and 1 Guest are viewing this topic.

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2613
    • My addons, mostly roadsigns
  • Languages: EN, CS
Removing bridges leaves broken roads r7218
« on: May 17, 2014, 10:37:59 AM »
I have noticed strange behavior when removing bridges. The road on the slope (bridge ramp) is left in place, but disconnected from the rest of the roads. Tested on pak128.britian-1.15, but I think it is error in the simutrans engine.

How to repeat:
Lets build bridges by dragging (no previous roads on the place):
Then delete the bridges - road on the bridge ramps are left in place, but the road conecting the two bridges disappeared.
Rebuild the bridges (the road in betweeen them had to be rebuilt manually), and build some more roads leading to the bridges:
Delete the bridges again, and you will see the road in the left corner disconnected:

I think the road problem is that deleting the bridge removes the road connection between the ramp and next tile. I think it should be better to simply remove the road on the ramp tile.


Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5454
  • Languages: EN, NO
Re: Removing bridges leaves broken roads r7218
« Reply #1 on: May 17, 2014, 01:39:18 PM »
I notice that the behaviour is different for bridges built raised over flat terrain compared to bridges spanning a valley. In the former case, two road tiles are left behind at each end.

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2613
    • My addons, mostly roadsigns
  • Languages: EN, CS
Re: Removing bridges leaves broken roads r7218
« Reply #2 on: May 17, 2014, 01:53:34 PM »
Yes the behavior on flat land is different, slightly better, but still wrong IMHO.