mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Moved bundle music code from class Sound to IMuseDigital (seems more natural; and allows for various cleanup)
svn-id: r11846
This commit is contained in:
+2
-1
@@ -25,6 +25,7 @@
|
||||
#include "scumm/actor.h"
|
||||
#include "scumm/charset.h"
|
||||
#include "scumm/dialogs.h"
|
||||
#include "scumm/imuse_digi.h"
|
||||
#include "scumm/verbs.h"
|
||||
#include "scumm/sound.h"
|
||||
|
||||
@@ -899,7 +900,7 @@ const byte *ScummEngine::translateTextAndPlaySpeech(const byte *ptr) {
|
||||
pointer[j] = 0;
|
||||
|
||||
// Play speech
|
||||
_sound->playBundleSound(pointer, &_sound->_talkChannelHandle);
|
||||
_imuseDigital->playBundleSound(pointer, &_sound->_talkChannelHandle);
|
||||
|
||||
ptr = _transText;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user