News:

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

Crash when removing signal without a way

Started by ceeac, August 25, 2021, 08:28:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ceeac

Steps to reproduce:

  • Build a piece of rail track
  • Switch to public player
  • Build a signal
  • Wait for the other player to go bankrupt. The rail track gets removed, but the signal remains (although it is invisible)
  • Try to remove the signal

The attached patch fixes the crash, however IMO the saner solution would be to either remove objects and convois of other players when a way gets removed, or to make all ways of a player public if the player is removed.

prissi

I think building a signal as public player should also make the associated way public ...

Your fix is in at r10059 Thank you