The International Simutrans Forum

 

Author Topic: New map/forest tool spawns quarter forests  (Read 302 times)

0 Members and 1 Guest are viewing this topic.

Offline Leartin

  • Oh no, not him again!
  • Devotee
  • *
  • Posts: 1575
  • PAK-DEV P192C
  • Languages: DE, EN
New map/forest tool spawns quarter forests
« 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.

Offline makie

  • Devotee
  • *
  • Posts: 306
    • Homepage PAK128-German
  • Languages: DE
Re: New map/forest tool spawns quarter forests
« Reply #1 on: January 12, 2021, 05:24:07 PM »
yes, this bug has also bothered me

thank you for searching

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10638
  • Languages: De,EN,JP
Re: New map/forest tool spawns quarter forests
« Reply #2 on: January 13, 2021, 12:02:39 AM »
Thank you, in in r9561.