diff options
Diffstat (limited to 'engines/kyra/script_lok.cpp')
-rw-r--r-- | engines/kyra/script_lok.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/script_lok.cpp b/engines/kyra/script_lok.cpp index 6d8c27fadc..e6dbbd27b9 100644 --- a/engines/kyra/script_lok.cpp +++ b/engines/kyra/script_lok.cpp @@ -731,7 +731,7 @@ int KyraEngine_LoK::o1_displayWSASequentialFrames(EMCState *script) { voiceTime /= 100; if (voiceSync) { - uint32 voicePlayedTime = _sound->voicePlayedTime(_speechFile.c_str()); + uint32 voicePlayedTime = _sound->voicePlayedTime(_speechHandle); if (voicePlayedTime >= voiceTime) voiceTime = 0; else |