aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/events.cpp')
-rw-r--r--engines/sherlock/events.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/events.cpp b/engines/sherlock/events.cpp
index 297437ed49..ff928d81b2 100644
--- a/engines/sherlock/events.cpp
+++ b/engines/sherlock/events.cpp
@@ -54,7 +54,7 @@ void Events::loadCursors(const Common::String &filename) {
hideCursor();
delete _cursorImages;
- if (_vm->getPlatform() != Common::kPlatform3DO) {
+ if (!IS_3DO) {
// PC
_cursorImages = new ImageFile(filename);
} else {
@@ -88,7 +88,7 @@ void Events::setCursor(CursorId cursorId) {
void Events::setCursor(const Graphics::Surface &src, int hotspotX, int hotspotY) {
_cursorId = INVALID_CURSOR;
- if (_vm->getPlatform() != Common::kPlatform3DO) {
+ if (!IS_3DO) {
// PC 8-bit palettized
CursorMan.replaceCursor(src.getPixels(), src.w, src.h, hotspotX, hotspotY, 0xff);
} else {