aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/mixer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index cf11e62848..b6b3a5d665 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -411,7 +411,7 @@ void SoundMixer::pauseID(int id, bool paused) {
}
}
-void SoundMixer::pauseHandle(PlayingSoundHandle handle, bool pause) {
+void SoundMixer::pauseHandle(PlayingSoundHandle handle, bool paused) {
StackLock lock(_mutex);
// Simply ignore pause/unpause requests for handles of sound that alreayd terminated
@@ -426,7 +426,7 @@ void SoundMixer::pauseHandle(PlayingSoundHandle handle, bool pause) {
}
if (_channels[index])
- _channels[index]->pause(pause);
+ _channels[index]->pause(paused);
}
bool SoundMixer::hasActiveSFXChannel() {