aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/mohawk/livingbooks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index 87fa55eaf1..292e8a392f 100644
--- a/engines/mohawk/livingbooks.cpp
+++ b/engines/mohawk/livingbooks.cpp
@@ -595,7 +595,7 @@ void MohawkEngine_LivingBooks::lockSound(LBItem *owner, bool lock) {
_soundLockOwner = owner->getId();
_maxSoundPriority = owner->getSoundPriority();
- if (_lastSoundId && _lastSoundPriority < _maxSoundPriority) {
+ if (_lastSoundId && _maxSoundPriority <= _lastSoundPriority) {
_sound->stopSound(_lastSoundId);
_lastSoundId = 0;
}