diff options
author | Max Horn | 2009-02-25 19:28:46 +0000 |
---|---|---|
committer | Max Horn | 2009-02-25 19:28:46 +0000 |
commit | b990add13e6009fc7c6fa9f40f60bfb36a14ba68 (patch) | |
tree | 234869e158b697172b466f420384daa9f2ff6962 /engines/sci/gfx/operations.cpp | |
parent | ec26d4f24b2971b6c77bece0dd15055506d0b62e (diff) | |
download | scummvm-rg350-b990add13e6009fc7c6fa9f40f60bfb36a14ba68.tar.gz scummvm-rg350-b990add13e6009fc7c6fa9f40f60bfb36a14ba68.tar.bz2 scummvm-rg350-b990add13e6009fc7c6fa9f40f60bfb36a14ba68.zip |
SCI: Restored ability to warp the mouse cursor
svn-id: r38884
Diffstat (limited to 'engines/sci/gfx/operations.cpp')
-rw-r--r-- | engines/sci/gfx/operations.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/gfx/operations.cpp b/engines/sci/gfx/operations.cpp index 3d3e17ee7e..96721090fe 100644 --- a/engines/sci/gfx/operations.cpp +++ b/engines/sci/gfx/operations.cpp @@ -1324,6 +1324,7 @@ int gfxop_set_pointer_position(gfx_state_t *state, Common::Point pos) { state->driver->pointer_x = pos.x * state->driver->mode->xfact; state->driver->pointer_y = pos.y * state->driver->mode->yfact; + g_system->warpMouse(state->driver->pointer_x, state->driver->pointer_y); _gfxop_full_pointer_refresh(state); return 0; |