aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2011-08-29 10:34:48 -0400
committerMatthew Hoops2011-08-29 10:35:08 -0400
commit8004a82f29c7ab6613367e7dde01d3c7af437316 (patch)
tree4a3e1cbbcb2df5161533dd071342809a0697bc7c /engines
parent14ac4efa09f1b6b59f60769770a519397c6da3de (diff)
downloadscummvm-rg350-8004a82f29c7ab6613367e7dde01d3c7af437316.tar.gz
scummvm-rg350-8004a82f29c7ab6613367e7dde01d3c7af437316.tar.bz2
scummvm-rg350-8004a82f29c7ab6613367e7dde01d3c7af437316.zip
MOHAWK: Fix using the Mac binary for Riven cursors
Diffstat (limited to 'engines')
-rw-r--r--engines/mohawk/cursors.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/mohawk/cursors.cpp b/engines/mohawk/cursors.cpp
index cbd17e0b86..8c72c9875e 100644
--- a/engines/mohawk/cursors.cpp
+++ b/engines/mohawk/cursors.cpp
@@ -199,12 +199,10 @@ void MacCursorManager::setCursor(uint16 id) {
if (!stream)
stream = _resFork->getResource(MKTAG('C','U','R','S'), id);
- if (stream) {
+ if (stream)
setMacCursor(stream);
- delete stream;
- } else {
+ else
setDefaultCursor();
- }
}
LivingBooksCursorManager_v2::LivingBooksCursorManager_v2() {