aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
authorMax Horn2003-12-22 08:22:04 +0000
committerMax Horn2003-12-22 08:22:04 +0000
commit1e5496b2c8fc998e9210d90e05ff006e0409918a (patch)
tree30bc67d198403af556e378733d95d38d9261d802 /scumm/string.cpp
parent44f1ed75fd76fd9842acd5784a31672a37536996 (diff)
downloadscummvm-rg350-1e5496b2c8fc998e9210d90e05ff006e0409918a.tar.gz
scummvm-rg350-1e5496b2c8fc998e9210d90e05ff006e0409918a.tar.bz2
scummvm-rg350-1e5496b2c8fc998e9210d90e05ff006e0409918a.zip
Moved bundle music code from class Sound to IMuseDigital (seems more natural; and allows for various cleanup)
svn-id: r11846
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index fc55dda3d5..f9f01f8f51 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -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;
}