diff options
author | Filippos Karapetis | 2009-09-01 06:21:23 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-09-01 06:21:23 +0000 |
commit | 814a37846e0229b73a72f74c325548d521b13048 (patch) | |
tree | 0aa9b590cf7bb144e2a137807c74a28c0d20c963 /engines/sci/gfx | |
parent | 53380a2cbf374f2073fad7134c99ac4f50811979 (diff) | |
download | scummvm-rg350-814a37846e0229b73a72f74c325548d521b13048.tar.gz scummvm-rg350-814a37846e0229b73a72f74c325548d521b13048.tar.bz2 scummvm-rg350-814a37846e0229b73a72f74c325548d521b13048.zip |
Fixed regression with some weird mouse cursors (e.g. in EcoQuest)
svn-id: r43874
Diffstat (limited to 'engines/sci/gfx')
-rw-r--r-- | engines/sci/gfx/operations.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/gfx/operations.cpp b/engines/sci/gfx/operations.cpp index 226f477b8a..1e25b93531 100644 --- a/engines/sci/gfx/operations.cpp +++ b/engines/sci/gfx/operations.cpp @@ -1114,8 +1114,10 @@ void gfxop_set_pointer_view(GfxState *state, int nr, int loop, int cel, Common:: } // 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) + if (new_pointer->width < 2 || new_pointer->height < 2) { _gfxop_set_pointer(state, NULL, NULL); + return; + } if (hotspot) _gfxop_set_pointer(state, new_pointer, hotspot); |