From d398c17f79838b2edb14f1881aa43ab3c7135d17 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 4 Sep 2009 15:40:15 +0000 Subject: - Allow SCI games to set the cursor position when it's hidden once again - Changed the message shown when the game tries to move the cursor off the screen bounds from a warning to a debug message, to avoid spam in games that do this behavior, e.g. the Camelot demo svn-id: r43942 --- engines/sci/gfx/operations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci/gfx/operations.cpp') 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 } -- cgit v1.2.3