aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction/debug.cpp')
-rw-r--r--engines/parallaction/debug.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/parallaction/debug.cpp b/engines/parallaction/debug.cpp
index b5eb82b456..f9e80fa288 100644
--- a/engines/parallaction/debug.cpp
+++ b/engines/parallaction/debug.cpp
@@ -53,10 +53,12 @@ Debugger::Debugger(Parallaction *vm)
void Debugger::preEnter() {
_mouseState = _vm->_input->getMouseState();
+ _vm->pauseEngine(true);
}
void Debugger::postEnter() {
+ _vm->pauseEngine(false);
_vm->_input->setMouseState(_mouseState);
_vm->_input->setArrowCursor(); // unselects the active item, if any
}