aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2006-06-03 18:34:57 +0000
committerJohannes Schickel2006-06-03 18:34:57 +0000
commit4a6b2a32761ed1f6715a86105e9ce31ed2e0fe66 (patch)
tree3f863a22fa55f68a44772d14716b228a38254f44 /engines
parent35e7eacc3f5b9cae731e1edc97d5d9babfe4beb1 (diff)
downloadscummvm-rg350-4a6b2a32761ed1f6715a86105e9ce31ed2e0fe66.tar.gz
scummvm-rg350-4a6b2a32761ed1f6715a86105e9ce31ed2e0fe66.tar.bz2
scummvm-rg350-4a6b2a32761ed1f6715a86105e9ce31ed2e0fe66.zip
Fixes visible mouse cursor in the intro with classic theme.
svn-id: r22903
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/kyra.cpp1
-rw-r--r--engines/kyra/screen.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/engines/kyra/kyra.cpp b/engines/kyra/kyra.cpp
index 06d3cecbb0..8706039dfe 100644
--- a/engines/kyra/kyra.cpp
+++ b/engines/kyra/kyra.cpp
@@ -508,6 +508,7 @@ void KyraEngine::startup() {
if (_abortIntroFlag && _skipIntroFlag) {
_menuDirectlyToLoad = true;
_screen->setMouseCursor(1, 1, _shapes[4]);
+ _screen->showMouse();
buttonMenuCallback(0);
_menuDirectlyToLoad = false;
} else
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp
index 34003bb44d..c3e7715dbb 100644
--- a/engines/kyra/screen.cpp
+++ b/engines/kyra/screen.cpp
@@ -110,7 +110,8 @@ bool Screen::init() {
_decodeShapeBufferSize = 0;
_animBlockPtr = NULL;
_animBlockSize = 0;
- _mouseLockCount = 0;
+ _mouseLockCount = 1;
+ CursorMan.showMouse(false);
_bitBlitRects = new Rect[BITBLIT_RECTS];
assert(_bitBlitRects);