From 4a6b2a32761ed1f6715a86105e9ce31ed2e0fe66 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 3 Jun 2006 18:34:57 +0000 Subject: Fixes visible mouse cursor in the intro with classic theme. svn-id: r22903 --- engines/kyra/kyra.cpp | 1 + engines/kyra/screen.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'engines') 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); -- cgit v1.2.3