aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2009-06-05 07:07:56 +0000
committerTravis Howell2009-06-05 07:07:56 +0000
commit662a305752214564a9db0ac2d61594367067efa1 (patch)
treebba0a359f646bda269880896f8389cc119219fbb
parent7edfab28d82f4c15bf95ad63d0ce480676f85c62 (diff)
downloadscummvm-rg350-662a305752214564a9db0ac2d61594367067efa1.tar.gz
scummvm-rg350-662a305752214564a9db0ac2d61594367067efa1.tar.bz2
scummvm-rg350-662a305752214564a9db0ac2d61594367067efa1.zip
HACK not required at this point, since transparency color of 5 is still used for 16bit color HE games.
svn-id: r41193
-rw-r--r--engines/scumm/cursor.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/scumm/cursor.cpp b/engines/scumm/cursor.cpp
index 66dd3807db..957370b8fe 100644
--- a/engines/scumm/cursor.cpp
+++ b/engines/scumm/cursor.cpp
@@ -111,13 +111,7 @@ void ScummEngine_v6::setCursorTransparency(int a) {
}
void ScummEngine::updateCursor() {
- //HACK Put the 16-bit mapped color, and
- //hope no other palette entry shares it
int transColor = (_game.heversion >= 80) ? 5 : 255;
- if (_game.features & GF_16BIT_COLOR && _hePalettes)
- transColor = READ_LE_UINT16(_hePalettes + 2048 + transColor * 2);
- else
- transColor = 0;
CursorMan.replaceCursor(_grabbedCursor, _cursor.width, _cursor.height,
_cursor.hotspotX, _cursor.hotspotY,
(_game.platform == Common::kPlatformNES ? _grabbedCursor[63] : transColor),