TSAGE: Fix sound glitch (CID 1004053)

This commit is contained in:
Strangerke 2013-11-03 11:31:36 +01:00
parent 8484b4b148
commit f129bc7b3b

View File

@ -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;