aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v1.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_v1.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_v1.cpp')
-rw-r--r--engines/gob/inter_v1.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/gob/inter_v1.cpp b/engines/gob/inter_v1.cpp
index c83e76874a..2c25322f38 100644
--- a/engines/gob/inter_v1.cpp
+++ b/engines/gob/inter_v1.cpp
@@ -804,7 +804,7 @@ void Inter_v1::o1_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;
@@ -822,9 +822,9 @@ void Inter_v1::o1_initCursor(void) {
_vm->_draw->_cursorHeight, 2);
_vm->_draw->_spritesArray[23] = _vm->_draw->_cursorSprites;
- _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;