aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/text_mr.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2011-04-07 01:00:41 +0200
committerJohannes Schickel2011-04-07 01:01:55 +0200
commitf19e2019b8e86f9fe4c95296428a7b31417666ac (patch)
treef75d4bfb9815ad14d0880de08a647f69a714aefe /engines/kyra/text_mr.cpp
parent40dd4f89baed798e431b671954e28755ca1aa73b (diff)
downloadscummvm-rg350-f19e2019b8e86f9fe4c95296428a7b31417666ac.tar.gz
scummvm-rg350-f19e2019b8e86f9fe4c95296428a7b31417666ac.tar.bz2
scummvm-rg350-f19e2019b8e86f9fe4c95296428a7b31417666ac.zip
KYRA: Cleanup background music looping of Kyra3.
Diffstat (limited to 'engines/kyra/text_mr.cpp')
-rw-r--r--engines/kyra/text_mr.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/kyra/text_mr.cpp b/engines/kyra/text_mr.cpp
index 98c6ef3130..001faab016 100644
--- a/engines/kyra/text_mr.cpp
+++ b/engines/kyra/text_mr.cpp
@@ -340,10 +340,8 @@ void KyraEngine_MR::objectChatWaitToFinish() {
_emc->start(&_chatScriptState, 1);
_animNeedUpdate = false;
- while (!_animNeedUpdate && _emc->isValid(&_chatScriptState) && !shouldQuit()) {
- musicUpdate(0);
+ while (!_animNeedUpdate && _emc->isValid(&_chatScriptState) && !shouldQuit())
_emc->run(&_chatScriptState);
- }
int curFrame = _animNewFrame;
uint32 delayTime = _animDelayTime;