aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNorbert Lange2009-06-25 09:30:49 +0000
committerNorbert Lange2009-06-25 09:30:49 +0000
commit536eb14d03ee02ed52e7c82372f3f955a7026245 (patch)
treea74fde80db8daaaf221d14c25baae11e6ef55b68 /engines
parent01c3db4d76d079d81dff1aba1afbace94c877b6c (diff)
downloadscummvm-rg350-536eb14d03ee02ed52e7c82372f3f955a7026245.tar.gz
scummvm-rg350-536eb14d03ee02ed52e7c82372f3f955a7026245.tar.bz2
scummvm-rg350-536eb14d03ee02ed52e7c82372f3f955a7026245.zip
Fix regression
svn-id: r41857
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/player_v4a.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/player_v4a.cpp b/engines/scumm/player_v4a.cpp
index 92ae52351d..7c3aab0462 100644
--- a/engines/scumm/player_v4a.cpp
+++ b/engines/scumm/player_v4a.cpp
@@ -144,8 +144,8 @@ void Player_V4A::startSound(int nr) {
else
warning("player_v4a: custom %i is not of required type", index);
- if (!_mixer->isSoundHandleActive(_musicHandle))
- _mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_musicHandle, _tfmxSfx, -1, Audio::Mixer::kMaxChannelVolume, 0, false);
+ if (!_mixer->isSoundHandleActive(_sfxHandle))
+ _mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_sfxHandle, _tfmxSfx, -1, Audio::Mixer::kMaxChannelVolume, 0, false);
} else {
// Song
debug(3, "player_v4a: play %d: song %i - %02X", nr, index, type);