aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound_lol.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-06-01 23:25:10 +0000
committerJohannes Schickel2009-06-01 23:25:10 +0000
commit6782d3efac9dd69cc33f245472b670adc39ce04e (patch)
treedc4c3978a3ba88b4e7fe0da6f0717fcc48f2cd4f /engines/kyra/sound_lol.cpp
parentf57be08d6d24ce196098f39296b5796e6a86ea92 (diff)
downloadscummvm-rg350-6782d3efac9dd69cc33f245472b670adc39ce04e.tar.gz
scummvm-rg350-6782d3efac9dd69cc33f245472b670adc39ce04e.tar.bz2
scummvm-rg350-6782d3efac9dd69cc33f245472b670adc39ce04e.zip
Change LoLEngine::delay to be conform with KyraEngine_v1::delay. (remove special iUpdate parameter, just call updateInput, when "doUpdate" is set to false)
svn-id: r41114
Diffstat (limited to 'engines/kyra/sound_lol.cpp')
-rw-r--r--engines/kyra/sound_lol.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/sound_lol.cpp b/engines/kyra/sound_lol.cpp
index a14df2090a..d0e34a0be6 100644
--- a/engines/kyra/sound_lol.cpp
+++ b/engines/kyra/sound_lol.cpp
@@ -90,10 +90,10 @@ bool LoLEngine::snd_playCharacterSpeech(int id, int8 speaker, int) {
return false;
while (_sound->voiceIsPlaying(&_speechHandle))
- delay(_tickLength, true, false);
+ delay(_tickLength, true);
while (_sound->allVoiceChannelsPlaying())
- delay(_tickLength, false, true);
+ delay(_tickLength);
for (Common::List<Audio::AudioStream *>::iterator i = _speechList.begin(); i != _speechList.end(); ++i)
delete *i;