Fix bug in Engine::pauseEngine (this should fix #2912148 "Using virtual keyboard in menu mutes audio")
svn-id: r47233
This commit is contained in:
parent
8703b6929f
commit
52fb0c59da
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue