aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2013-11-03 11:31:36 +0100
committerStrangerke2013-11-03 11:31:36 +0100
commitf129bc7b3b585dec1fe45acd41fb9d24389f72be (patch)
tree93f67dd9987a34cf0c2ce359e932a35e5949dbbb /engines
parent8484b4b148731b77b9378606987fc9e92d9eb553 (diff)
downloadscummvm-rg350-f129bc7b3b585dec1fe45acd41fb9d24389f72be.tar.gz
scummvm-rg350-f129bc7b3b585dec1fe45acd41fb9d24389f72be.tar.bz2
scummvm-rg350-f129bc7b3b585dec1fe45acd41fb9d24389f72be.zip
TSAGE: Fix sound glitch (CID 1004053)
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp
index 69dfb1a74c..1014a0780b 100644
--- a/engines/tsage/sound.cpp
+++ b/engines/tsage/sound.cpp
@@ -969,7 +969,7 @@ void SoundManager::sfRethinkVoiceTypes() {
int entryIndex = -1;
for (uint idx = 0; idx < vtStruct->_entries.size(); ++idx) {
if (vtStruct->_entries[idx]._voiceNum == foundIndex) {
- foundIndex = true;
+ foundMatch = true;
if (!vtStruct->_entries[idx]._type0._sound2) {
entryIndex = idx;
break;