diff options
author | James Brown | 2003-01-09 08:06:35 +0000 |
---|---|---|
committer | James Brown | 2003-01-09 08:06:35 +0000 |
commit | b946f08105dff0c4c1f4aeffc0d98ba968725848 (patch) | |
tree | e314a0d09bf0a3b3eb0931b888a58a3f121aae23 /scumm/script_v8.cpp | |
parent | 531e73418f6122be327123f168b837ad7eddddab (diff) | |
download | scummvm-rg350-b946f08105dff0c4c1f4aeffc0d98ba968725848.tar.gz scummvm-rg350-b946f08105dff0c4c1f4aeffc0d98ba968725848.tar.bz2 scummvm-rg350-b946f08105dff0c4c1f4aeffc0d98ba968725848.zip |
Patch 664895: Cannon fixes. Yippie. Anyone here familiar enough with SDL to comment on the fullscreen hack?
svn-id: r6364
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r-- | scumm/script_v8.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index e50b04442d..42f6ae7a7f 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -801,14 +801,14 @@ void Scumm_v8::o8_cursorCommand() _charsetColorMap[i] = _charsetData[_string[1].t_charset][i] = (unsigned char)args[i]; break; case 0xE9: // SO_CURSOR_PUT - _virtual_mouse_x = pop(); _virtual_mouse_y = pop(); + _virtual_mouse_x = pop(); mouse.x = _virtual_mouse_x - virtscr[0].xstart; mouse.y = _virtual_mouse_y - camera._cur.y + (_realHeight / 2); - mouse.y += 16; + mouse.y += virtscr[0].topline; - _system->set_mouse_pos(mouse.x, mouse.y); + _system->warp_mouse(mouse.x, mouse.y); _system->update_screen(); // warning("warped mouse to (%d, %d) from %d-%d", _virtual_mouse_x, _virtual_mouse_y, _roomResource, vm.slot[_currentScript].number); break; |