aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/intro.cpp
diff options
context:
space:
mode:
authorStrangerke2015-12-24 01:21:40 +0100
committerStrangerke2015-12-24 01:21:40 +0100
commit0bf89c1eecee3df0e50010124522349ccdf8b641 (patch)
treea3a34d568a4ecae953711734c28e5b86bd536e86 /engines/lab/intro.cpp
parent997150e76e562438f0d939f54fd1e3fb89b1e005 (diff)
downloadscummvm-rg350-0bf89c1eecee3df0e50010124522349ccdf8b641.tar.gz
scummvm-rg350-0bf89c1eecee3df0e50010124522349ccdf8b641.tar.bz2
scummvm-rg350-0bf89c1eecee3df0e50010124522349ccdf8b641.zip
LAB: Cleanup the way shouldQuit is called
Diffstat (limited to 'engines/lab/intro.cpp')
-rw-r--r--engines/lab/intro.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lab/intro.cpp b/engines/lab/intro.cpp
index d8612764e7..dbb37827e4 100644
--- a/engines/lab/intro.cpp
+++ b/engines/lab/intro.cpp
@@ -49,7 +49,7 @@ void Intro::introEatMessages() {
while (1) {
IntuiMessage *msg = _vm->_event->getMsg();
- if (g_engine->shouldQuit()) {
+ if (_vm->shouldQuit()) {
_quitIntro = true;
return;
}
@@ -118,7 +118,7 @@ void Intro::doPictText(const Common::String filename, TextFont *msgFont, bool is
}
IntuiMessage *msg = _vm->_event->getMsg();
- if (g_engine->shouldQuit()) {
+ if (_vm->shouldQuit()) {
_quitIntro = true;
return;
}