aboutsummaryrefslogtreecommitdiff
path: root/engines/startrek/textbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/startrek/textbox.cpp')
-rw-r--r--engines/startrek/textbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/startrek/textbox.cpp b/engines/startrek/textbox.cpp
index 542df25bc7..007ab8f5af 100644
--- a/engines/startrek/textbox.cpp
+++ b/engines/startrek/textbox.cpp
@@ -240,7 +240,7 @@ String StarTrekEngine::playTextAudio(const String &str) {
}
soundFile[len] = '\0';
- playSpeech(soundFile);
+ _sound->playSpeech(soundFile);
return String(text + 1);
}
@@ -462,7 +462,7 @@ readjustScroll:
}
_textboxVar2 = _frameIndex;
- stopPlayingSpeech();
+ _sound->stopPlayingSpeech();
return choiceIndex;
}