Mark the 'fix' in r47231 as a workaround for a probably deeper problem.

svn-id: r47232
This commit is contained in:
Fabio Battaglia 2010-01-10 17:58:44 +00:00
parent 09a2694f6f
commit 8703b6929f

View File

@ -140,8 +140,9 @@ bool DefaultEventManager::pollEvent(Common::Event &event) {
_vk->close(true);
} else {
// Check if the engine is already paused before pausing it again
// Fixes #2912148. Where opening the GMM and then the virtual keyboard
// Workaround for #2912148. Where opening the GMM and then the virtual keyboard
// and then closing them left the game mute.
// FIXME: Engines should really allow recursive pausing.
bool enginePaused = g_engine ? g_engine->isPaused() : true;
if (!enginePaused)
g_engine->pauseEngine(true);