diff options
author | Torbjörn Andersson | 2007-09-20 04:09:55 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-09-20 04:09:55 +0000 |
commit | 4c4d4e7b15901a9610b08048c32a1254f367e8aa (patch) | |
tree | a46a0eeeafd6019456fa5992487b16c2d82297ba /engines | |
parent | 0fc3ee26f92c47ee32d0cb6b95c3050e53db38e2 (diff) | |
download | scummvm-rg350-4c4d4e7b15901a9610b08048c32a1254f367e8aa.tar.gz scummvm-rg350-4c4d4e7b15901a9610b08048c32a1254f367e8aa.tar.bz2 scummvm-rg350-4c4d4e7b15901a9610b08048c32a1254f367e8aa.zip |
Fixed out-of-bounds writing in killSounds().
svn-id: r28978
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lure/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/sound.cpp b/engines/lure/sound.cpp index bf9a2032ab..89939f9182 100644 --- a/engines/lure/sound.cpp +++ b/engines/lure/sound.cpp @@ -129,7 +129,7 @@ void SoundManager::killSounds() { // Clear the active sounds _activeSounds.clear(); - for (int channelNum = 0; channelNum < NUM_CHANNELS_INNER; ++channelNum) + for (int channelNum = 0; channelNum < NUM_CHANNELS_OUTER; ++channelNum) _channelsInUse[channelNum] = false; } |