[Scummvm-cvs-logs] scummvm master -> 4cc7d472d18dc65d932c72bee81c314f896fd65a

Strangerke Strangerke at scummvm.org
Sat Nov 9 14:36:41 CET 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
4cc7d472d1 TSAGE: FGix bug in sound code. This fixes CID 1127336


Commit: 4cc7d472d18dc65d932c72bee81c314f896fd65a
    https://github.com/scummvm/scummvm/commit/4cc7d472d18dc65d932c72bee81c314f896fd65a
Author: Strangerke (strangerke at scummvm.org)
Date: 2013-11-09T05:35:58-08:00

Commit Message:
TSAGE: FGix bug in sound code. This fixes CID 1127336

Changed paths:
    engines/tsage/sound.cpp



diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp
index 0946b6c..f8797fd 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;
 						}
 					}
 






More information about the Scummvm-git-logs mailing list