aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/videoplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/videoplayer.cpp')
-rw-r--r--engines/gob/videoplayer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp
index daf7bdd801..aa47e6cf84 100644
--- a/engines/gob/videoplayer.cpp
+++ b/engines/gob/videoplayer.cpp
@@ -23,7 +23,6 @@
*
*/
-
#include "gob/videoplayer.h"
#include "gob/global.h"
#include "gob/util.h"
@@ -569,7 +568,7 @@ bool VideoPlayer::doPlay(int16 frame, int16 breakKey,
_vm->_util->processInput();
- if (_vm->quit()) {
+ if (_vm->_quitRequested) {
_primaryVideo->getVideo()->disableSound();
return true;
}