From 5c75ac98981512133b888743779fae383200be44 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 28 Dec 2015 01:04:28 +0200 Subject: LAB: Fix loading from the GMM and warping to rooms from the console --- engines/lab/console.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'engines/lab/console.cpp') diff --git a/engines/lab/console.cpp b/engines/lab/console.cpp index 12eafd3789..35e29f2920 100644 --- a/engines/lab/console.cpp +++ b/engines/lab/console.cpp @@ -24,6 +24,8 @@ #include "lab/lab.h" #include "lab/console.h" +#include "lab/dispman.h" +#include "lab/eventman.h" #include "lab/processroom.h" #include "lab/resource.h" @@ -47,6 +49,11 @@ bool Console::Cmd_Scene(int argc, const char **argv) { } _vm->_roomNum = atoi(argv[1]); + _vm->_curFileName = " "; + _vm->_closeDataPtr = nullptr; + _vm->_mainDisplay = true; + _vm->_followingCrumbs = false; + _vm->_event->simulateLeftClick(); return false; } -- cgit v1.2.3