aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v2.cpp
diff options
context:
space:
mode:
authorSven Hesse2006-07-09 18:54:12 +0000
committerSven Hesse2006-07-09 18:54:12 +0000
commitdcbbfa01c09854903666cce7ec855883b4257c00 (patch)
treeb1d1c0cf044c9ebfc9f465f3dc22dce173ccbedd /engines/gob/inter_v2.cpp
parent75e64b91defc913956767698b6d8eccc7bc59e7f (diff)
downloadscummvm-rg350-dcbbfa01c09854903666cce7ec855883b4257c00.tar.gz
scummvm-rg350-dcbbfa01c09854903666cce7ec855883b4257c00.tar.bz2
scummvm-rg350-dcbbfa01c09854903666cce7ec855883b4257c00.zip
Instead of drawing the mouse cursor as a sprite, let the backend handle it
svn-id: r23464
Diffstat (limited to 'engines/gob/inter_v2.cpp')
-rw-r--r--engines/gob/inter_v2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/gob/inter_v2.cpp b/engines/gob/inter_v2.cpp
index 2c3454e406..608ffa4e05 100644
--- a/engines/gob/inter_v2.cpp
+++ b/engines/gob/inter_v2.cpp
@@ -1812,7 +1812,7 @@ void Inter_v2::o2_initCursor(void) {
_vm->_draw->_cursorSprites->width != width * count) {
_vm->_video->freeSurfDesc(_vm->_draw->_cursorSprites);
- _vm->_video->freeSurfDesc(_vm->_draw->_cursorBack);
+ _vm->_video->freeSurfDesc(_vm->_draw->_scummvmCursor);
_vm->_draw->_cursorWidth = width;
_vm->_draw->_cursorHeight = height;
@@ -1830,9 +1830,9 @@ void Inter_v2::o2_initCursor(void) {
_vm->_draw->_cursorSpritesBack = _vm->_draw->_spritesArray[23];
_vm->_draw->_cursorSprites = _vm->_draw->_cursorSpritesBack;
- _vm->_draw->_cursorBack =
+ _vm->_draw->_scummvmCursor =
_vm->_video->initSurfDesc(_vm->_global->_videoMode, _vm->_draw->_cursorWidth,
- _vm->_draw->_cursorHeight, 0);
+ _vm->_draw->_cursorHeight, SCUMMVM_CURSOR);
for (i = 0; i < 40; i++) {
_vm->_draw->_cursorAnimLow[i] = -1;
_vm->_draw->_cursorAnimDelays[i] = 0;