diff options
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r-- | scumm/script_v8.cpp | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index 483adac13b..252e677d10 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -499,26 +499,9 @@ void Scumm_v8::decodeParseString(int m, int n) { _string[m].no_talk_anim = true; break; case 0xD1: - _messagePtr = _scriptPointer; + _messagePtr = translateTextAndPlaySpeech(_scriptPointer); _scriptPointer += resStrLen(_scriptPointer)+ 1; - if (_messagePtr[0] == '/') { - char pointer[20]; - int i, j; - - translateText(_messagePtr, _transText); - for (i = 0, j = 0; (_messagePtr[i] != '/' || j == 0) && j < 19; i++) { - if (_messagePtr[i] != '/') - pointer[j++] = _messagePtr[i]; - } - pointer[j] = 0; - - // Play speech - _sound->playBundleSound(pointer, &_sound->_talkChannelHandle); - - _messagePtr = _transText; - } - switch (m) { case 0: actorTalk(); |