Merge lp:~widelands-dev/widelands/previous_song_exclusion into lp:widelands
Proposed by
ypopezios
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 8728 | ||||
Proposed branch: | lp:~widelands-dev/widelands/previous_song_exclusion | ||||
Merge into: | lp:widelands | ||||
Diff against target: |
54 lines (+13/-11) 2 files modified
src/sound/songset.cc (+10/-8) src/sound/songset.h (+3/-3) |
||||
To merge this branch: | bzr merge lp:~widelands-dev/widelands/previous_song_exclusion | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GunChleoc | Approve | ||
Review via email: mp+347404@code.launchpad.net |
Description of the change
- Changed current_song_ from iterator into simple index.
- Changed calculation of random song to exclude current_song_ from the possible results.
- Unified handling of random and linear selection.
To post a comment you must log in.
Continuous integration builds have changed state:
Travis build 3581. State: failed. Details: https:/ /travis- ci.org/ widelands/ widelands/ builds/ 387978432. /ci.appveyor. com/project/ widelands- dev/widelands/ build/_ widelands_ dev_widelands_ previous_ song_exclusion- 3384.
Appveyor build 3384. State: failed. Details: https:/