The International Simutrans Forum

 

Author Topic: Slopes in tunnels  (Read 34724 times)

0 Members and 1 Guest are viewing this topic.

Offline MHD

  • *
  • Posts: 197
  • Languages: DE,EN,CZ,FR
Re: Slopes in tunnels
« Reply #105 on: April 16, 2009, 06:56:02 PM »
Same with me here.

I assume, to build an underground track works as usual: Start with a Ctrl+Tunnel and continue to work on the tracks (since building a track in underground mode is not working).

This leads to a crash on desktop and I even didn't get a log file.

I patched the latest nightly...

Greetings, Oliver

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4608
  • Languages: EN, DE, AT
Re: Slopes in tunnels
« Reply #106 on: April 16, 2009, 07:17:04 PM »
There is a notorious bug in some patch files. Does it help, if you change the following assert(..) statement in bauer/tunnelbauer.cc ??
Code: [Select]
const char *tunnelbauer_t::baue( karte_t *welt, spieler_t *sp, koord pos, const tunnel_besch_t *besch )
{
assert( besch ); // delete the reference to underground_mode here!

Offline gerw

  • Coder/patcher
  • *
  • Posts: 618
Re: Slopes in tunnels
« Reply #107 on: April 16, 2009, 09:01:30 PM »
Somehow the directory, where I have applied both patches get messed up...