aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2010-12-07 19:41:49 +0000
committerMatthew Hoops2010-12-07 19:41:49 +0000
commit0d59c33b35177f3325ae9edbac902ab228248929 (patch)
treecd94a1c65f58256dd36101e51ff8ff7695a80898
parent6edc86a19b6060c9f0f257b05ff711b021910de4 (diff)
downloadscummvm-rg350-0d59c33b35177f3325ae9edbac902ab228248929.tar.gz
scummvm-rg350-0d59c33b35177f3325ae9edbac902ab228248929.tar.bz2
scummvm-rg350-0d59c33b35177f3325ae9edbac902ab228248929.zip
MOHAWK: Default to the main cursor if no cursor hints are present; fixes a couple cards
svn-id: r54816
-rw-r--r--engines/mohawk/myst.cpp8
1 files changed, 7 insertions, 1 deletions
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++)