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/events.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/events.cpp')
-rw-r--r-- | engines/voyeur/events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/voyeur/events.cpp b/engines/voyeur/events.cpp index 020fe4b692..ae7e300979 100644 --- a/engines/voyeur/events.cpp +++ b/engines/voyeur/events.cpp @@ -245,7 +245,7 @@ void EventsManager::pollEvents() { checkForNextFrameCounter(); Common::Event event; - while (g_system->getEventManager()->pollEvent(event)) { + while (g_system->getEventManager()->pollEvent(event) && !_vm->shouldQuit()) { // Handle keypress switch (event.type) { case Common::EVENT_QUIT: |