Skip to main content
Topic: [bug + fix] ONLY_TUNNELS_BELOW_GROUND won't work correctly (Read 3499 times) previous topic - next topic

[bug + fix] ONLY_TUNNELS_BELOW_GROUND won't work correctly

If you compile simutrans with ONLY_TUNNELS_BELOW_GROUND you aren't able to build tunnels anymore. This is fixed with this patch.

The patch als fixes the bug displayed in the attached image (you can build a tunnel if the ending tile contains a way but no slope).

Re: [bug + fix] ONLY_TUNNELS_BELOW_GROUND won't work correctly

Reply #1
Building a tunnel to a vertical slope was once a hidden feature though ...

Re: [bug + fix] ONLY_TUNNELS_BELOW_GROUND won't work correctly

Reply #2
Will ONLY_TUNNELS_BELOW_GROUND work well with current version ?
Now it's time to activate this as default, isn't it ?

Re: [bug + fix] ONLY_TUNNELS_BELOW_GROUND won't work correctly

Reply #3
yes, I am all for deactivating the harbour tunnels. At least, since rev. 2547 tunnels through open water are forbidden.
Parsley, sage, rosemary, and maggikraut.

Re: [bug + fix] ONLY_TUNNELS_BELOW_GROUND won't work correctly

Reply #4
 ???
But I can still build it in r2550.


Re: [bug + fix] ONLY_TUNNELS_BELOW_GROUND won't work correctly

Reply #5
This is 'intended'. I meant tunnels under sea level into the sea, as in here:

http://forum.simutrans.com/index.php?topic=2549.0
Parsley, sage, rosemary, and maggikraut.

Re: [bug + fix] ONLY_TUNNELS_BELOW_GROUND won't work correctly

Reply #6
As soon as the slope building is working on all levels as intended, harbour tunnel should be disabled. I think so too. But then we need to improv all Undergrund modus (maybe with transparent sea tiles)