aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/mixer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index 4ca7b4c897..93a661d80f 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -77,11 +77,11 @@ public:
return _input->endOfStream();
}
void pause(bool paused) {
- assert((paused && _pauseLevel >= 0) || (!paused && _pauseLevel));
+ //assert((paused && _pauseLevel >= 0) || (!paused && _pauseLevel));
if (paused)
_pauseLevel++;
- else
+ else if (_pauseLevel > 0)
_pauseLevel--;
}
bool isPaused() {