The International Simutrans Forum

Development => Bug Reports => Topic started by: Spacethingy on February 12, 2017, 06:44:47 PM

Title: [r8076] Stackable docks?
Post by: Spacethingy on February 12, 2017, 06:44:47 PM
(http://i.imgur.com/a3cetNA.png)


Single tile docks (i.e. ones with no piers extending into the water) can be connected together up a slope. Is this a bug or a feature?  ;D
Title: Re: [r8076] Stackable docks?
Post by: Dwachs on February 12, 2017, 07:23:04 PM
Thanks for posting! There is no need to stack harbours, you can build them on any straight slope you like. I doubt it was ever working correctly. I could reproduce this in 111.3, which predates known history :)

Should this be fixed? Or has this flaw already mastered the transition from bug to feature? I always like it, when recent bug reports reveal ancient bugs.
Title: Re: [r8076] Stackable docks?
Post by: Ters on February 12, 2017, 08:39:54 PM
Is this in any way useful, or does it only allow ugly constructions?
Title: Re: [r8076] Stackable docks?
Post by: prissi on February 12, 2017, 11:37:11 PM
I think it was shortly introduced after rivers, although the check for a nearby river seems to be not really executed. But without this, having extensive harbour near rivers were difficult. But since now lakes return water too, how about putting the restriction "next to water" back in.
Title: Re: [r8076] Stackable docks?
Post by: Dwachs on February 13, 2017, 05:59:08 PM
I committed a fix in r8086 (The very first computer I got my hands on was an 8086, too.)

The check was missing for 1x1 docks. I added an extra check requiring water or water ways in front of such docks.