aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Bouclet2017-07-21 12:23:59 +0200
committerBastien Bouclet2017-07-22 20:38:56 +0200
commit01480f9a00bdc237477f6867c9b6404ec160c3f5 (patch)
tree1bd5b17c8e9bfd2b2b0442fd544bf3967cd2e4a3
parent64303abb07c058a92ebe1ab8d91dc0c85b1ec432 (diff)
downloadscummvm-rg350-01480f9a00bdc237477f6867c9b6404ec160c3f5.tar.gz
scummvm-rg350-01480f9a00bdc237477f6867c9b6404ec160c3f5.tar.bz2
scummvm-rg350-01480f9a00bdc237477f6867c9b6404ec160c3f5.zip
MOHAWK: Myst: Fix the quickTest debug command
-rw-r--r--engines/mohawk/console.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/mohawk/console.cpp b/engines/mohawk/console.cpp
index 374e2a51d9..5b810c5cc3 100644
--- a/engines/mohawk/console.cpp
+++ b/engines/mohawk/console.cpp
@@ -334,6 +334,8 @@ bool MystConsole::Cmd_Resources(int argc, const char **argv) {
}
bool MystConsole::Cmd_QuickTest(int argc, const char **argv) {
+ _vm->pauseEngine(false);
+
// Go through all the ages, all the views and click random stuff
for (uint i = 0; i < ARRAYSIZE(mystStackNames); i++) {
if (i == 2 || i == 5 || i == 9 || i == 10) continue;
@@ -364,6 +366,7 @@ bool MystConsole::Cmd_QuickTest(int argc, const char **argv) {
}
}
+ _vm->pauseEngine(true);
return true;
}