aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/draw.cpp
diff options
context:
space:
mode:
authorSven Hesse2012-06-28 17:45:02 +0200
committerSven Hesse2012-07-30 01:44:42 +0200
commit27782700a5631a25129b12779abb540a906f6a96 (patch)
tree9c3fc6374dcc626a8696d29cde3973489b973d61 /engines/gob/draw.cpp
parent38fe3c3cd9e656b3e3f2b35011895d6703a1a896 (diff)
downloadscummvm-rg350-27782700a5631a25129b12779abb540a906f6a96.tar.gz
scummvm-rg350-27782700a5631a25129b12779abb540a906f6a96.tar.bz2
scummvm-rg350-27782700a5631a25129b12779abb540a906f6a96.zip
GOB: Add some PreGob and Once Upon A Time cursor functions
Diffstat (limited to 'engines/gob/draw.cpp')
-rw-r--r--engines/gob/draw.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/gob/draw.cpp b/engines/gob/draw.cpp
index 3932987e0a..8c6919416d 100644
--- a/engines/gob/draw.cpp
+++ b/engines/gob/draw.cpp
@@ -271,7 +271,9 @@ void Draw::blitInvalidated() {
return;
}
- _showCursor = (_showCursor & ~2) | ((_showCursor & 1) << 1);
+ if (_cursorSprites)
+ _showCursor = (_showCursor & ~2) | ((_showCursor & 1) << 1);
+
if (_applyPal) {
clearPalette();
forceBlit();