From 78bf8c490d9cb6017a9fc83a8ebe7b8a14768415 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 15 May 2009 12:41:27 +0000 Subject: Reverted the SQ5 change introduced with commit #40574, as this makes the mouse cursor invisible in games which have multicolored cursors svn-id: r40605 --- engines/sci/gfx/operations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci') diff --git a/engines/sci/gfx/operations.cpp b/engines/sci/gfx/operations.cpp index 7977f6db97..29606f5d7f 100644 --- a/engines/sci/gfx/operations.cpp +++ b/engines/sci/gfx/operations.cpp @@ -1214,7 +1214,7 @@ int gfxop_set_pointer_view(GfxState *state, int nr, int loop, int cel, Common::P } // Eco Quest 1 uses a 1x1 transparent cursor to hide the cursor from the user. Some scalers don't seem to support this. - if (new_pointer->width < 2 || new_pointer->height < 2 || new_pointer->data_size <= 0) + if (new_pointer->width < 2 || new_pointer->height < 2) return _gfxop_set_pointer(state, NULL, NULL); if (hotspot) -- cgit v1.2.3