Merge lp:~widelands-dev/widelands/bug-1535065 into lp:widelands
Proposed by
GunChleoc
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 7775 | ||||
Proposed branch: | lp:~widelands-dev/widelands/bug-1535065 | ||||
Merge into: | lp:widelands | ||||
Diff against target: |
34 lines (+16/-1) 1 file modified
src/editor/map_generator.cc (+16/-1) |
||||
To merge this branch: | bzr merge lp:~widelands-dev/widelands/bug-1535065 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
SirVer | Approve | ||
Review via email: mp+284658@code.launchpad.net |
Commit message
Unset player starting position in MapGenerator if coordinates are illegal.
Description of the change
This fixes a crash with the random map generator where coordinates of player positions would be outside of the map.
The player positions generated aren't necessarily viable, but that's a problem for another day.
To post a comment you must log in.
Hi, I am bunnybot (https:/ /github. com/widelands/ bunnybot).
I am keeping the source branch lp:~widelands-dev/widelands/bug-1535065 mirrored to https:/ /github. com/widelands/ widelands/ tree/_widelands _dev_widelands_ bug_1535065
You can give me commands by starting a line with @bunnybot <command>. I understand:
merge: Merges the source branch into the target branch, closing the merge proposal. I will use the proposed commit message if it is set.