aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2009-05-15 12:41:27 +0000
committerFilippos Karapetis2009-05-15 12:41:27 +0000
commit78bf8c490d9cb6017a9fc83a8ebe7b8a14768415 (patch)
tree42ce8847c4930ff22aa058543d6f16342be79c39
parent6ef7b6e1f414afbeda6822a5606f9399f831e27c (diff)
downloadscummvm-rg350-78bf8c490d9cb6017a9fc83a8ebe7b8a14768415.tar.gz
scummvm-rg350-78bf8c490d9cb6017a9fc83a8ebe7b8a14768415.tar.bz2
scummvm-rg350-78bf8c490d9cb6017a9fc83a8ebe7b8a14768415.zip
Reverted the SQ5 change introduced with commit #40574, as this makes the mouse cursor invisible in games which have multicolored cursors
svn-id: r40605
-rw-r--r--engines/sci/gfx/operations.cpp2
1 files changed, 1 insertions, 1 deletions
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)