diff options
Diffstat (limited to 'saga/events.cpp')
-rw-r--r-- | saga/events.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/saga/events.cpp b/saga/events.cpp index 435256517f..f377b444d1 100644 --- a/saga/events.cpp +++ b/saga/events.cpp @@ -309,6 +309,11 @@ int Events::handleOneShot(EVENT *event) { } break; + case SOUND_EVENT: + _vm->_sound->stopSound(); + if (event->op == EVENT_PLAY) + _vm->_sndRes->playSound(event->param, event->param2, event->param3 != 0); + break; case VOICE_EVENT: _vm->_sndRes->playVoice(event->param); break; |