From 0d59c33b35177f3325ae9edbac902ab228248929 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Tue, 7 Dec 2010 19:41:49 +0000 Subject: MOHAWK: Default to the main cursor if no cursor hints are present; fixes a couple cards svn-id: r54816 --- engines/mohawk/myst.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp index 1fb83a12df..9391063634 100644 --- a/engines/mohawk/myst.cpp +++ b/engines/mohawk/myst.cpp @@ -935,8 +935,14 @@ void MohawkEngine_Myst::setMainCursor(uint16 cursor) { } void MohawkEngine_Myst::checkCursorHints() { - if (!_view.hint) + if (!_view.hint) { + // Default to the main cursor when no hints are present + if (_currentCursor != _mainCursor) { + _currentCursor = _mainCursor; + _cursor->setCursor(_currentCursor); + } return; + } // Check all the cursor hints to see if we're in a hotspot that contains a hint. for (uint16 i = 0; i < _cursorHintCount; i++) -- cgit v1.2.3