Skip to content

Commit

Permalink
TSAGE: Fix for un-used variable in _sfRethinkVoiceTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jun 21, 2011
1 parent 8534f98 commit 12fc332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/tsage/sound.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 12fc332

Please sign in to comment.