aboutsummaryrefslogtreecommitdiff
path: root/sound/mixer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound/mixer.cpp')
-rw-r--r--sound/mixer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index 74165d3a0a..2f09add6a8 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -397,7 +397,7 @@ bool SoundMixer::isSoundIDActive(int id) {
bool SoundMixer::hasActiveChannelOfType(SoundType type) {
Common::StackLock lock(_mutex);
for (int i = 0; i != NUM_CHANNELS; i++)
- if (_channels[i] && !_channels[i]->_type == type)
+ if (_channels[i] && _channels[i]->_type == type)
return true;
return false;
}