mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-23 02:11:38 +00:00
Stop sounds at the beginning of a scene. Two reasons: we already stop
voices at the same time, and I didn't want the looping background sound in the IHNM intro to keep playing if escaping during the "hate speech". svn-id: r15975
This commit is contained in:
parent
75645cbd40
commit
2cfdcb5a59
@ -977,6 +977,7 @@ int Scene::defaultScene(int param, SCENE_INFO *scene_info) {
|
||||
switch (param) {
|
||||
case SCENE_BEGIN:
|
||||
_vm->_sound->stopVoice();
|
||||
_vm->_sound->stopSound();
|
||||
|
||||
if (_desc.musicRN >= 0) {
|
||||
event.type = ONESHOT_EVENT;
|
||||
|
Loading…
Reference in New Issue
Block a user