diff options
author | Filippos Karapetis | 2010-06-03 21:52:21 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-03 21:52:21 +0000 |
commit | 576306c323d092b590e184ececb70745633aae4e (patch) | |
tree | 19b17e57ad2fdee1c6ae8ebfe9cc808b70fcec0c /engines/sci/engine | |
parent | 038ac90482863d60567e64c11ed138d79000fe28 (diff) | |
download | scummvm-rg350-576306c323d092b590e184ececb70745633aae4e.tar.gz scummvm-rg350-576306c323d092b590e184ececb70745633aae4e.tar.bz2 scummvm-rg350-576306c323d092b590e184ececb70745633aae4e.zip |
Re-enabled the cursor position limiting code
svn-id: r49413
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/kevent.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/kevent.cpp b/engines/sci/engine/kevent.cpp index 35f71efedd..3e096074e6 100644 --- a/engines/sci/engine/kevent.cpp +++ b/engines/sci/engine/kevent.cpp @@ -49,6 +49,8 @@ reg_t kGetEvent(EngineState *s, int argc, reg_t *argv) { SegManager *segMan = s->_segMan; Common::Point mousePos; + // Limit the mouse cursor position, if necessary + g_sci->_gfxCursor->refreshPosition(); mousePos = g_sci->_gfxCursor->getPosition(); // If there's a simkey pending, and the game wants a keyboard event, use the |