Merge lp:~widelands-dev/widelands/bug-1573968-new-map-crash into lp:widelands
Proposed by
GunChleoc
Status: | Merged |
---|---|
Merged at revision: | 7987 |
Proposed branch: | lp:~widelands-dev/widelands/bug-1573968-new-map-crash |
Merge into: | lp:widelands |
Diff against target: |
103 lines (+23/-10) 5 files modified
src/editor/editorinteractive.cc (+11/-3) src/editor/editorinteractive.h (+1/-0) src/editor/tools/set_starting_pos_tool.cc (+9/-5) src/editor/ui_menus/main_menu_new_map.cc (+1/-1) src/editor/ui_menus/main_menu_random_map.cc (+1/-1) |
To merge this branch: | bzr merge lp:~widelands-dev/widelands/bug-1573968-new-map-crash |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
kaputtnik (community) | testing | Approve | |
Review via email: mp+292712@code.launchpad.net |
Commit message
Select info tool before creating new maps. This fixes a crash with the player tool.
To post a comment you must log in.
Now i get a crash when
1. Start editor
2. Place a player
3. Save the map
4. Load the previous saved map
Result: /widelands- repo/bug-1573968-new-map- crash/src/ logic/map. h:205: Widelands::Coords Widelands: :Map::get_ starting_ pos(Widelands: :PlayerNumber) const: Zusicherung »1 <= p && p <= get_nrplayers()« nicht erfüllt.
widelands: /home/kaputtnik