aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/groovie/cursor.cpp6
-rw-r--r--engines/groovie/cursor.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/engines/groovie/cursor.cpp b/engines/groovie/cursor.cpp
index 3b6c7a93bd..6a91600dbb 100644
--- a/engines/groovie/cursor.cpp
+++ b/engines/groovie/cursor.cpp
@@ -418,4 +418,10 @@ GrvCursorMan_v2::GrvCursorMan_v2(OSystem *system) :
GrvCursorMan_v2::~GrvCursorMan_v2() {
}
+void GrvCursorMan_v2::setStyle(uint8 newStyle) {
+ // Cursor 4 is actually cursor 3, but with some changes to alpha blending
+ // (which is currently not handled)
+ GrvCursorMan::setStyle(newStyle == 4 ? 3 : newStyle);
+}
+
} // End of Groovie namespace
diff --git a/engines/groovie/cursor.h b/engines/groovie/cursor.h
index a148144389..b37384bee5 100644
--- a/engines/groovie/cursor.h
+++ b/engines/groovie/cursor.h
@@ -90,6 +90,8 @@ class GrvCursorMan_v2 : public GrvCursorMan {
public:
GrvCursorMan_v2(OSystem *system);
~GrvCursorMan_v2();
+
+ void setStyle(uint8 newStyle);
};
} // End of Groovie namespace