diff options
author | Paul Gilbert | 2011-06-21 18:50:21 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-06-21 18:50:56 +1000 |
commit | 12fc332242413dac8fbaf440220e6f022e7e9555 (patch) | |
tree | a04a99a337ec84bdbd765d5aba70e6ddea319f0f | |
parent | 8534f984c97a0d82f2b14051c28595d91a368ebb (diff) | |
download | scummvm-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.cpp | 2 |
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; } |