diff options
| author | Strangerke | 2015-12-24 01:21:40 +0100 |
|---|---|---|
| committer | Strangerke | 2015-12-24 01:21:40 +0100 |
| commit | 0bf89c1eecee3df0e50010124522349ccdf8b641 (patch) | |
| tree | a3a34d568a4ecae953711734c28e5b86bd536e86 /engines/lab/intro.cpp | |
| parent | 997150e76e562438f0d939f54fd1e3fb89b1e005 (diff) | |
| download | scummvm-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.cpp | 4 |
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; } |
