mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 01:07:22 +00:00
KYRA: LoK - Fix chat duration
When both subtitles and voice are enabled use voice duration as in the original game.
This commit is contained in:
parent
ba3a51dbf7
commit
fd97ca71f0
@ -100,7 +100,7 @@ void KyraEngine_LoK::waitForChatToFinish(int vocFile, int chatDuration, const ch
|
||||
_animator->copyChangedObjectsForward(0);
|
||||
updateTextFade();
|
||||
|
||||
if (((chatDuration < (int)(_system->getMillis() - timeAtStart)) && chatDuration != -1 && printText) || (!printText && !snd_voiceIsPlaying()))
|
||||
if (((chatDuration < (int)(_system->getMillis() - timeAtStart)) && chatDuration != -1 && printText) || (vocFile != -1 && !snd_voiceIsPlaying()))
|
||||
break;
|
||||
|
||||
uint32 nextTime = loopStart + _tickLength;
|
||||
|
Loading…
x
Reference in New Issue
Block a user