diff options
author | Strangerke | 2013-11-09 14:35:58 +0100 |
---|---|---|
committer | Strangerke | 2013-11-09 14:35:58 +0100 |
commit | 4cc7d472d18dc65d932c72bee81c314f896fd65a (patch) | |
tree | 73d8b7b86ee143c2f7bcceaa30ce5bb5bc38375b /engines | |
parent | 38d02d1687bb72270c317ef50e38b11f2cb5aeaf (diff) | |
download | scummvm-rg350-4cc7d472d18dc65d932c72bee81c314f896fd65a.tar.gz scummvm-rg350-4cc7d472d18dc65d932c72bee81c314f896fd65a.tar.bz2 scummvm-rg350-4cc7d472d18dc65d932c72bee81c314f896fd65a.zip |
TSAGE: FGix bug in sound code. This fixes CID 1127336
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp index 0946b6c419..f8797fd569 100644 --- a/engines/tsage/sound.cpp +++ b/engines/tsage/sound.cpp @@ -1008,7 +1008,7 @@ void SoundManager::sfRethinkVoiceTypes() { if (vtStruct->_entries[idx]._type0._priority2 > maxPriority) { maxPriority = vtStruct->_entries[idx]._type0._priority2; - entryIndex = -1; + entryIndex = idx; } } |