aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorNorbert Lange2009-08-13 00:07:37 +0000
committerNorbert Lange2009-08-13 00:07:37 +0000
commit13757d5354c874977b728d9739ecb9ac069d1932 (patch)
treee63057c400538279aed25a558227f45582e819d7 /sound
parentdbe5f9998d891ccda4c35c0143ffb55d43ffc842 (diff)
downloadscummvm-rg350-13757d5354c874977b728d9739ecb9ac069d1932.tar.gz
scummvm-rg350-13757d5354c874977b728d9739ecb9ac069d1932.tar.bz2
scummvm-rg350-13757d5354c874977b728d9739ecb9ac069d1932.zip
sound_amiga: honor _musicEnabled and _sfxEnabled flags
maxtrax: initialise lastvolume svn-id: r43337
Diffstat (limited to 'sound')
-rw-r--r--sound/mods/maxtrax.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/mods/maxtrax.cpp b/sound/mods/maxtrax.cpp
index 3e60536013..4d02dc7152 100644
--- a/sound/mods/maxtrax.cpp
+++ b/sound/mods/maxtrax.cpp
@@ -541,6 +541,7 @@ void MaxTrax::killVoice(byte num) {
voice.priority = 0;
voice.stopEventTime = -1;
voice.dmaOff = 0;
+ voice.lastVolume = 0;
//voice.uinqueId = 0;
// "stop" voice, set period to 1, vol to 0