diff options
author | Norbert Lange | 2009-08-13 00:07:37 +0000 |
---|---|---|
committer | Norbert Lange | 2009-08-13 00:07:37 +0000 |
commit | 13757d5354c874977b728d9739ecb9ac069d1932 (patch) | |
tree | e63057c400538279aed25a558227f45582e819d7 /sound | |
parent | dbe5f9998d891ccda4c35c0143ffb55d43ffc842 (diff) | |
download | scummvm-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.cpp | 1 |
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 |