aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorWalter van Niftrik2009-04-24 12:30:57 +0000
committerWalter van Niftrik2009-04-24 12:30:57 +0000
commitc0805599ca3627ce0ed23dd00171a0b422bdefb7 (patch)
treece548224c193d559cc4a85e55fc1ad4657ea5756 /engines/sci/engine
parentdf81ef750c819a483514f423599366c155057b90 (diff)
downloadscummvm-rg350-c0805599ca3627ce0ed23dd00171a0b422bdefb7.tar.gz
scummvm-rg350-c0805599ca3627ce0ed23dd00171a0b422bdefb7.tar.bz2
scummvm-rg350-c0805599ca3627ce0ed23dd00171a0b422bdefb7.zip
SCI: Fixed mouse cursor hotspots in ECO1.
svn-id: r40110
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kgraphics.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index a5fc6e3f65..810b99a22f 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -315,8 +315,7 @@ reg_t kSetCursorNew(EngineState *s, int funct_nr, int argc, reg_t *argv) {
break;
}
case 3 : {
- Common::Point hotspot = Common::Point(0, 0);
- GFX_ASSERT(gfxop_set_pointer_view(s->gfx_state, UKPV(0), UKPV(1), UKPV(2), &hotspot));
+ GFX_ASSERT(gfxop_set_pointer_view(s->gfx_state, UKPV(0), UKPV(1), UKPV(2), NULL));
s->mouse_pointer_view = UKPV(0);
s->mouse_pointer_loop = UKPV(1);
s->mouse_pointer_cel = UKPV(2);