From 0058049e3224b10d1d8a074d70eb092a9a780fd3 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Mon, 29 Jan 2007 17:59:28 +0000 Subject: Added a proper workaround for the race condition in the script when opening the notepad, which was apparently causing bug #1621089 svn-id: r25255 --- engines/gob/util.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/gob/util.cpp') diff --git a/engines/gob/util.cpp b/engines/gob/util.cpp index 47a5ce076d..f7c5fa9202 100644 --- a/engines/gob/util.cpp +++ b/engines/gob/util.cpp @@ -488,4 +488,10 @@ void Util::waitMouseRelease(char drawMouse) { } void Util::keyboard_release(void) {;} + +void Util::forceMouseUp(void) { + _vm->_game->_mouseButtons = 0; + _mouseButtons = 0; +} + } // End of namespace Gob -- cgit v1.2.3