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.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/parallaction/debug.cpp b/engines/parallaction/debug.cpp
index ac1e8c37e5..4cdd7f989e 100644
--- a/engines/parallaction/debug.cpp
+++ b/engines/parallaction/debug.cpp
@@ -51,10 +51,13 @@ Debugger::Debugger(Parallaction *vm)
void Debugger::preEnter() {
+ _mouseState = _vm->_input->getMouseState();
}
void Debugger::postEnter() {
+ _vm->_input->setMouseState(_mouseState);
+ _vm->_input->setArrowCursor(); // unselects the active item, if any
}
bool Debugger::Cmd_Location(int argc, const char **argv) {