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:
Torbjörn Andersson 2004-12-03 13:39:00 +00:00
parent 75645cbd40
commit 2cfdcb5a59

View File

@ -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;