diff options
-rw-r--r-- | engines/toon/script_func.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/toon/script_func.cpp b/engines/toon/script_func.cpp index f96b9567a9..f571f324ef 100644 --- a/engines/toon/script_func.cpp +++ b/engines/toon/script_func.cpp @@ -548,7 +548,11 @@ int32 ScriptFunc::sys_Cmd_Exit_Conversation(EMCState *state) { } int32 ScriptFunc::sys_Cmd_Set_Mouse_Pos(EMCState *state) { - _vm->getSystem()->warpMouse(stackPos(0) - _vm->state()->_currentScrollValue, stackPos(1)); + if (_vm->state()->_inCloseUp) { + _vm->getSystem()->warpMouse(stackPos(0), stackPos(1)); + } else { + _vm->getSystem()->warpMouse(stackPos(0) - _vm->state()->_currentScrollValue, stackPos(1)); + } return 0; } |