The International Simutrans Forum

 

Author Topic: Tunnels no longer generate track sections.  (Read 175 times)

0 Members and 1 Guest are viewing this topic.

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1071
    • Simutrans-BLOG
  • Languages: ES
Tunnels no longer generate track sections.
« on: June 02, 2018, 01:04:32 AM »

If I create the tunnel entry (given Ctrl), the tunnel section will no longer be created.  :-[
 

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1071
    • Simutrans-BLOG
  • Languages: ES
Re: Tunnels no longer generate track sections.
« Reply #1 on: June 04, 2018, 02:44:56 PM »
This was a recent change, or did something break in the code? .  ???

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4428
  • Languages: EN, DE, AT
Re: Tunnels no longer generate track sections.
« Reply #2 on: June 04, 2018, 04:55:48 PM »
Could be this commit
https://github.com/aburch/simutrans/commit/6415f38796062b169c47c905a029ad0ada909012

There was problem that sometimes tunnel tiles were created, where they should not be: If build single tunnel portal on a lonely artificial slope with no hill behind. Afaict this commit brought back even older behavior to not create the extra tunnel tiles.
« Last Edit: June 05, 2018, 06:17:38 AM by Dwachs »

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1071
    • Simutrans-BLOG
  • Languages: ES
Re: Tunnels no longer generate track sections.
« Reply #3 on: June 04, 2018, 10:00:43 PM »
Unfortunately, a chapter breaks in the tutorial scenario, and I can not solve the problem.  :-[

Edit.
The problem is the ribi, in the entrances of tunnels can not be differentiated from a stretch of road.

For example, dead ends have ribi of: 1, 2, 4, and 8.

But in the entrances of tunnels they give a ribi of: 5 and 10.
« Last Edit: June 04, 2018, 11:08:12 PM by Yona-TYT »