aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2011-06-21 18:50:21 +1000
committerPaul Gilbert2011-06-21 18:50:56 +1000
commit12fc332242413dac8fbaf440220e6f022e7e9555 (patch)
treea04a99a337ec84bdbd765d5aba70e6ddea319f0f
parent8534f984c97a0d82f2b14051c28595d91a368ebb (diff)
downloadscummvm-rg350-12fc332242413dac8fbaf440220e6f022e7e9555.tar.gz
scummvm-rg350-12fc332242413dac8fbaf440220e6f022e7e9555.tar.bz2
scummvm-rg350-12fc332242413dac8fbaf440220e6f022e7e9555.zip
TSAGE: Fix for un-used variable in _sfRethinkVoiceTypes
-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 42416e2bf0..fec5518fd4 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;
}