Merge lp://staging/~widelands-dev/widelands/bug-1636966-one-soldier-crash into lp://staging/widelands/build19
Proposed by
GunChleoc
Status: | Rejected | ||||
---|---|---|---|---|---|
Rejected by: | GunChleoc | ||||
Proposed branch: | lp://staging/~widelands-dev/widelands/bug-1636966-one-soldier-crash | ||||
Merge into: | lp://staging/widelands/build19 | ||||
Diff against target: |
100 lines (+22/-16) 1 file modified
src/logic/map_objects/tribes/soldier.cc (+22/-16) |
||||
To merge this branch: | bzr merge lp://staging/~widelands-dev/widelands/bug-1636966-one-soldier-crash | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Widelands Developers | Pending | ||
Review via email: mp+309445@code.staging.launchpad.net |
Commit message
Abort battle if opponent is nullptr to avoid segfaults.
Description of the change
There is no easy way to reproduce this, so I have followed the solution suggested in the bug.
To post a comment you must log in.
Continuous integration builds have changed state:
Travis build 1524. State: passed. Details: https:/ /travis- ci.org/ widelands/ widelands/ builds/ 171031811. /ci.appveyor. com/project/ widelands- dev/widelands/ build/_ widelands_ dev_widelands_ bug_1636966_ one_soldier_ crash-1367.
Appveyor build 1367. State: success. Details: https:/