widelands
widelands copied to clipboard
Random Map Generator doesn't always find viable player starting positions.
When creating random maps setting of player positions fails. Sometimes they are on uncommon terrain like water or mountains, sometimes no position is found at all.
Imported from Launchpad using lp2gh.
- date created: 2016-05-12T07:15:26Z
- owner: gunchleoc
- the launchpad url was https://bugs.launchpad.net/bugs/1580892
I have just played a random game where the two players' starting positions were on top of each other. And recently in a game the HQs were only about five fields away from each other so the conquer areas overlapped. At least an extra check for such extreme cases needs to be implemented.
The more urgent situation of random matches was fixed with #4592; the actual logic change can wait for v1.1