Merge lp:~widelands-dev/widelands/bug-1592692-production_sounds into lp:widelands
Proposed by
kaputtnik
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 8027 | ||||
Proposed branch: | lp:~widelands-dev/widelands/bug-1592692-production_sounds | ||||
Merge into: | lp:widelands | ||||
Diff against target: |
61 lines (+19/-12) 1 file modified
src/sound/sound_handler.cc (+19/-12) |
||||
To merge this branch: | bzr merge lp:~widelands-dev/widelands/bug-1592692-production_sounds | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
SirVer | Approve | ||
Review via email: mp+299186@code.launchpad.net |
Commit message
Corrected function stereo_position() regarding sound sources which are near the edge of map_end/map_start.
Description of the change
Corrected function stereo_position() regarding sound sources which are near the edge of map_end/map_start.
The only functional difference is that stereo_position gets a call to
MapviewPixelFun
This should recalculate the positions of the sound source to pay attention where a map starts/ends
Other changes are:
* Refactor some variables
* Added small comments
To post a comment you must log in.
Continuous integration builds have changed state:
Travis build 1171. State: passed. Details: https:/ /travis- ci.org/ widelands/ widelands/ builds/ 142499476. /ci.appveyor. com/project/ widelands- dev/widelands/ build/_ widelands_ dev_widelands_ bug_1592692_ production_ sounds- 1009.
Appveyor build 1009. State: success. Details: https:/