The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Leartin on January 12, 2021, 04:25:45 PM

Title: New map/forest tool spawns quarter forests
Post by: Leartin on January 12, 2021, 04:25:45 PM
Trees only get planted in one quadrant of the area supposed to be a forest.
Reason: The check to avoid placement outside the map edge compares to a position relative to the forest center, rather than an absolute position of the map. Hence 3/4 are 'outside the map'.

Fix attached.
Title: Re: New map/forest tool spawns quarter forests
Post by: makie on January 12, 2021, 05:24:07 PM
yes, this bug has also bothered me

thank you for searching
Title: Re: New map/forest tool spawns quarter forests
Post by: prissi on January 13, 2021, 12:02:39 AM
Thank you, in in r9561.