aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2012-11-17 22:09:04 +1100
committerPaul Gilbert2012-11-17 22:09:04 +1100
commit98a3f96ce01e7bcbcfd180af333b482f9f33d652 (patch)
treea466b80cc2d9c182401370b9cd02e795948eb362 /engines
parent6f95d311f2843f4f000829a91f9bf5614ffe1e2c (diff)
downloadscummvm-rg350-98a3f96ce01e7bcbcfd180af333b482f9f33d652.tar.gz
scummvm-rg350-98a3f96ce01e7bcbcfd180af333b482f9f33d652.tar.bz2
scummvm-rg350-98a3f96ce01e7bcbcfd180af333b482f9f33d652.zip
HOPKINS: Bugfix for cursor background transparency when in forest
Diffstat (limited to 'engines')
-rw-r--r--engines/hopkins/events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/events.cpp b/engines/hopkins/events.cpp
index d8c55124a3..9f2743c5b8 100644
--- a/engines/hopkins/events.cpp
+++ b/engines/hopkins/events.cpp
@@ -537,7 +537,7 @@ void EventsManager::updateCursor() {
// Set the ScummVM cursor from the surface
Graphics::PixelFormat pixelFormat = g_system->getScreenFormat();
CursorMan.replaceCursor(cursorPixels, _vm->_globals.OBJL, _vm->_globals.OBJH,
- xOffset, 0, 0, true, &pixelFormat);
+ xOffset, 0, *((uint16 *)cursorPixels), true, &pixelFormat);
// Delete the cursor surface
delete[] cursorPixels;