aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/mult_v2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/mult_v2.cpp')
-rw-r--r--engines/gob/mult_v2.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/engines/gob/mult_v2.cpp b/engines/gob/mult_v2.cpp
index c582957e12..70ccb1ffd5 100644
--- a/engines/gob/mult_v2.cpp
+++ b/engines/gob/mult_v2.cpp
@@ -516,7 +516,6 @@ void Mult_v2::playMult(int16 startFrame, int16 endFrame, char checkEscape,
}
do {
- _vm->_snd->loopSounds();
stop = 1;
if (VAR(58) == 0) {
@@ -540,6 +539,7 @@ void Mult_v2::playMult(int16 startFrame, int16 endFrame, char checkEscape,
stop = doFadeAnim(stop);
stop = doSoundAnim(stop, _frame);
+ _vm->_snd->loopSounds();
if (_frame >= endFrame)
stopNoClear = 1;
@@ -1318,18 +1318,7 @@ void Mult_v2::animate(void) {
void Mult_v2::playSound(Snd::SoundDesc * soundDesc, int16 repCount, int16 freq,
int16 channel) {
-// warning("playSound, %d, %d, %d", repCount, freq, channel);
- if (soundDesc->frequency >= 0) {
- if (soundDesc->frequency == freq)
- _vm->_snd->playSample(soundDesc, repCount, -channel);
- else
- _vm->_snd->playSample(soundDesc, repCount, freq);
- } else {
- if (soundDesc->frequency == -freq)
- _vm->_snd->playSample(soundDesc, repCount, -channel);
- else
- _vm->_snd->playSample(soundDesc, repCount, freq);
- }
+ _vm->_snd->playSample(soundDesc, repCount, freq);
}
void Mult_v2::freeMult(void) {