diff options
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 2 | ||||
-rw-r--r-- | engines/sci/gfx/operations.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 4287bf37a8..623789f296 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -300,7 +300,7 @@ static reg_t kSetCursorSci0(EngineState *s, int, int argc, reg_t *argv) { gfxop_set_pointer_cursor(s->gfx_state, cursor); // Set pointer position, if requested - if (argc >= 4 && cursor != GFXOP_NO_POINTER) { + if (argc >= 4) { Common::Point newPos = Common::Point(argv[2].toSint16() + s->port->_bounds.x, argv[3].toSint16() + s->port->_bounds.y); gfxop_set_pointer_position(s->gfx_state, newPos); } diff --git a/engines/sci/gfx/operations.cpp b/engines/sci/gfx/operations.cpp index 8d15b51696..348f7d467f 100644 --- a/engines/sci/gfx/operations.cpp +++ b/engines/sci/gfx/operations.cpp @@ -1109,7 +1109,7 @@ void gfxop_set_pointer_position(GfxState *state, Common::Point pos) { state->pointer_pos = pos; if (pos.x > 320 || pos.y > 200) { - warning("[GFX] Attempt to place pointer at invalid coordinates (%d, %d)", pos.x, pos.y); + debugC("[GFX] Attempt to place pointer at invalid coordinates (%d, %d)\n", pos.x, pos.y); return; // Not fatal } |