aboutsummaryrefslogtreecommitdiff
path: root/saga/actor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'saga/actor.cpp')
-rw-r--r--saga/actor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/saga/actor.cpp b/saga/actor.cpp
index 2f92031c09..7f270dc541 100644
--- a/saga/actor.cpp
+++ b/saga/actor.cpp
@@ -679,7 +679,7 @@ HandleSpeakIntent(R_ACTOR * actor,
if (!a_dialogue->d_playing) {
/* Dialogue voice hasn't played yet - play it now */
- _vm->_snd->playVoice(a_dialogue->d_voice_rn);
+ _vm->_sndRes->playVoice(a_dialogue->d_voice_rn);
a_dialogue->d_playing = 1;
}
@@ -733,7 +733,7 @@ int ACTOR_GetSpeechTime(const char *d_string, uint d_voice_rn)
{
int voice_len;
- voice_len = _vm->_snd->getVoiceLength(d_voice_rn);
+ voice_len = _vm->_sndRes->getVoiceLength(d_voice_rn);
if (voice_len < 0) {
voice_len = strlen(d_string) * ACTOR_DIALOGUE_LETTERTIME;