aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-10 18:09:49 +0000
committerJohannes Schickel2010-01-10 18:09:49 +0000
commit52fb0c59da70e0098ec8dfbc5d8b99d2e10067c5 (patch)
tree8eada54e7452ced6eafaa5451455bbf627029623
parent8703b6929f20a926f04d90977e986fd23a0c0f10 (diff)
downloadscummvm-rg350-52fb0c59da70e0098ec8dfbc5d8b99d2e10067c5.tar.gz
scummvm-rg350-52fb0c59da70e0098ec8dfbc5d8b99d2e10067c5.tar.bz2
scummvm-rg350-52fb0c59da70e0098ec8dfbc5d8b99d2e10067c5.zip
Fix bug in Engine::pauseEngine (this should fix #2912148 "Using virtual keyboard in menu mutes audio")
svn-id: r47233
-rw-r--r--engines/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp
index 4f908d96f6..dc4c746f6c 100644
--- a/engines/engine.cpp
+++ b/engines/engine.cpp
@@ -354,7 +354,7 @@ void Engine::pauseEngine(bool pause) {
else
_pauseLevel--;
- if (_pauseLevel == 1) {
+ if (_pauseLevel == 1 && pause) {
pauseEngineIntern(true);
} else if (_pauseLevel == 0) {
pauseEngineIntern(false);