diff options
author | Filippos Karapetis | 2015-12-28 01:04:28 +0200 |
---|---|---|
committer | Filippos Karapetis | 2015-12-28 01:04:28 +0200 |
commit | 5c75ac98981512133b888743779fae383200be44 (patch) | |
tree | 1b88513620bab582ac37747eee9f1b624611d5ff /engines/lab/console.cpp | |
parent | 1688a1b239294b6cd9fe21ca4d2f5bd929c450dd (diff) | |
download | scummvm-rg350-5c75ac98981512133b888743779fae383200be44.tar.gz scummvm-rg350-5c75ac98981512133b888743779fae383200be44.tar.bz2 scummvm-rg350-5c75ac98981512133b888743779fae383200be44.zip |
LAB: Fix loading from the GMM and warping to rooms from the console
Diffstat (limited to 'engines/lab/console.cpp')
-rw-r--r-- | engines/lab/console.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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; } |