diff options
author | Filippos Karapetis | 2014-07-20 16:17:22 +0300 |
---|---|---|
committer | Filippos Karapetis | 2014-07-20 17:10:55 +0300 |
commit | e663395435764f14fcf9b561af408b25521d16ce (patch) | |
tree | 8c3fe18fbc489e586c3a4eb189a3a9192fc93e1d /engines/saga/scene.cpp | |
parent | b14a2599bcbb5fcec2e860e048081751dbde8162 (diff) | |
download | scummvm-rg350-e663395435764f14fcf9b561af408b25521d16ce.tar.gz scummvm-rg350-e663395435764f14fcf9b561af408b25521d16ce.tar.bz2 scummvm-rg350-e663395435764f14fcf9b561af408b25521d16ce.zip |
SAGA: Add wrappers for queuing music events
Diffstat (limited to 'engines/saga/scene.cpp')
-rw-r--r-- | engines/saga/scene.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/engines/saga/scene.cpp b/engines/saga/scene.cpp index e94effee07..f19645dd99 100644 --- a/engines/saga/scene.cpp +++ b/engines/saga/scene.cpp @@ -789,13 +789,7 @@ void Scene::loadScene(LoadSceneParams &loadSceneParams) { if (_vm->getGameId() == GID_ITE) { if (_sceneDescription.musicResourceId >= 0) { - event.type = kEvTOneshot; - event.code = kMusicEvent; - event.param = _sceneDescription.musicResourceId; - event.param2 = MUSIC_NORMAL; - event.op = kEventPlay; - event.time = 0; - _vm->_events->queue(event); + _vm->_events->queueMusic(_sceneDescription.musicResourceId); } else { event.type = kEvTOneshot; event.code = kMusicEvent; |