diff options
author | Paul Gilbert | 2017-08-06 23:02:55 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-08-06 23:02:55 -0400 |
commit | 27e141eaf4686a652c3a196263e64d082702a2cb (patch) | |
tree | dbf11a09797fe9939f028314a7fa64403e6a0c63 /engines/voyeur/voyeur_game.cpp | |
parent | ed04ef492994549188b98be0bae42bc32313b967 (diff) | |
download | scummvm-rg350-27e141eaf4686a652c3a196263e64d082702a2cb.tar.gz scummvm-rg350-27e141eaf4686a652c3a196263e64d082702a2cb.tar.bz2 scummvm-rg350-27e141eaf4686a652c3a196263e64d082702a2cb.zip |
VOYEUR: Fix exiting game from the VCR screen
Diffstat (limited to 'engines/voyeur/voyeur_game.cpp')
-rw-r--r-- | engines/voyeur/voyeur_game.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/voyeur/voyeur_game.cpp b/engines/voyeur/voyeur_game.cpp index 2c84a4c471..7ffba7f338 100644 --- a/engines/voyeur/voyeur_game.cpp +++ b/engines/voyeur/voyeur_game.cpp @@ -61,6 +61,8 @@ void VoyeurEngine::playStamp() { switch (_voy->_playStampMode) { case 5: buttonId = _mainThread->doInterface(); + if (shouldQuit()) + return; if (buttonId == -2) { switch (_mainThread->doApt()) { @@ -647,6 +649,9 @@ void VoyeurEngine::reviewTape() { } while (!shouldQuit() && (!_eventsManager->_mouseClicked || foundIndex == -1)); + if (shouldQuit()) + return; + newY = _eventsManager->getMousePos().y; _voy->_fadingType = 0; _voy->_viewBounds = nullptr; |