The International Simutrans Forum

 

Author Topic: Known bug? Saved game on reload switches to drive by sight from token block  (Read 368 times)

0 Members and 1 Guest are viewing this topic.

Offline Jando

  • *
  • Posts: 497
I see a little problem with this saved game (link valid for 60 days): https://simutrans-germany.com/files/upload/Hartcester_Actual.sve

On loading the game one of the two trains on that map, both driving in token block, switches to drive by sight. The second train is not affected and working fine.

How to observe:
1. Load game and hit pause.
2. Examine vehicle #1. It's travelling at 85 km/h, it's detail window says it's running under token block. However the track is not marked as reserved.
3. Unpause. The vehicle will switch to drive by sight and slow down to 35 km/h.

And credit where credit is due, the trains comes from Hartcester St. James. Thanks for your work on this, St. James!

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18690
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Thank you for the report. I believe that I have now fixed this. I should be grateful if you could re-test with the next nightly build.

The fix involves disabling code that (unnecessarily) recalculated the block reservation on re-loading.

Offline Jando

  • *
  • Posts: 497
I should be grateful if you could re-test with the next nightly build.

Fixed for me as well, thank you, James!