Fix bug in Engine::pauseEngine (this should fix #2912148 "Using virtual keyboard in menu mutes audio")

svn-id: r47233
This commit is contained in:
Johannes Schickel 2010-01-10 18:09:49 +00:00
parent 8703b6929f
commit 52fb0c59da

View File

@ -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);