aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/intro.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2015-12-13 15:37:39 +0200
committerWillem Jan Palenstijn2015-12-23 21:34:02 +0100
commit577b60d7853156851894430ad8032ed14b353e33 (patch)
treedd4c750654cbaa4f7f0a61eb47283d0b72d0d785 /engines/lab/intro.cpp
parent7c1401264ca0da173dfe4de09ca4884d63feeb55 (diff)
downloadscummvm-rg350-577b60d7853156851894430ad8032ed14b353e33.tar.gz
scummvm-rg350-577b60d7853156851894430ad8032ed14b353e33.tar.bz2
scummvm-rg350-577b60d7853156851894430ad8032ed14b353e33.zip
LAB: Move getMsg to the event manager
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 5b170f54a9..2e88132da8 100644
--- a/engines/lab/intro.cpp
+++ b/engines/lab/intro.cpp
@@ -50,7 +50,7 @@ Intro::Intro(LabEngine *vm) : _vm(vm) {
*/
void Intro::introEatMessages() {
while (1) {
- IntuiMessage *msg = _vm->getMsg();
+ IntuiMessage *msg = _vm->_event->getMsg();
if (g_engine->shouldQuit()) {
_quitIntro = true;
@@ -129,7 +129,7 @@ void Intro::doPictText(const char *filename, TextFont *msgFont, bool isScreen) {
lastMillis = g_system->getMillis();
}
- msg = _vm->getMsg();
+ msg = _vm->_event->getMsg();
if (msg == NULL) {
_vm->_music->updateMusic();