diff options
Diffstat (limited to 'engines/macventure/macventure.cpp')
-rw-r--r-- | engines/macventure/macventure.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/macventure/macventure.cpp b/engines/macventure/macventure.cpp index 9d437612f0..6cb6db5d42 100644 --- a/engines/macventure/macventure.cpp +++ b/engines/macventure/macventure.cpp @@ -126,7 +126,7 @@ Common::Error MacVentureEngine::run() { if (_gameState != kGameStateQuitting) { - if (_prepared) { + if (_prepared && !_gui->isDialogOpen()) { _prepared = false; if (!_halted) @@ -148,6 +148,7 @@ Common::Error MacVentureEngine::run() { if (_gameState == kGameStateWinnig || _gameState == kGameStateLosing) { endGame(); + return Common::kNoError; } } _gui->draw(); |