[Scummvm-cvs-logs] scummvm master -> 12fc332242413dac8fbaf440220e6f022e7e9555
dreammaster
dreammaster at scummvm.org
Tue Jun 21 10:52:44 CEST 2011
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:
12fc332242 TSAGE: Fix for un-used variable in _sfRethinkVoiceTypes
Commit: 12fc332242413dac8fbaf440220e6f022e7e9555
https://github.com/scummvm/scummvm/commit/12fc332242413dac8fbaf440220e6f022e7e9555
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2011-06-21T01:50:56-07:00
Commit Message:
TSAGE: Fix for un-used variable in _sfRethinkVoiceTypes
Changed paths:
engines/tsage/sound.cpp
diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp
index 42416e2..fec5518 100644
--- a/engines/tsage/sound.cpp
+++ b/engines/tsage/sound.cpp
@@ -839,7 +839,7 @@ void SoundManager::_sfRethinkVoiceTypes() {
entryIndex = -1;
for (uint idx = 0; idx < vtStruct->_entries.size(); ++idx) {
if ((vtStruct->_entries[idx]._field1 != 0) &&
- (vtStruct->_entries[idx]._type0._priority2 > maxVoiceNum)) {
+ (vtStruct->_entries[idx]._type0._priority2 > maxPriority)) {
maxPriority = vtStruct->_entries[idx]._type0._priority2;
entryIndex = idx;
}
More information about the Scummvm-git-logs
mailing list