aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/cursor.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2010-06-20 13:15:45 +0000
committerMartin Kiewitz2010-06-20 13:15:45 +0000
commit871c9bdddeaee6756f5c8d943c2ff8ed337abd4d (patch)
tree94993cdfa8b855dc874d4d6459e5bc9c1b770fe1 /engines/sci/graphics/cursor.cpp
parentdaf1429ca22e887d49e761304e60b47f46e97bbf (diff)
downloadscummvm-rg350-871c9bdddeaee6756f5c8d943c2ff8ed337abd4d.tar.gz
scummvm-rg350-871c9bdddeaee6756f5c8d943c2ff8ed337abd4d.tar.bz2
scummvm-rg350-871c9bdddeaee6756f5c8d943c2ff8ed337abd4d.zip
SCI: removing unneeded parameters inside SciPalette, cleanup of SciPalette
svn-id: r50076
Diffstat (limited to 'engines/sci/graphics/cursor.cpp')
-rw-r--r--engines/sci/graphics/cursor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/cursor.cpp b/engines/sci/graphics/cursor.cpp
index 369549cf7b..db42dac3dd 100644
--- a/engines/sci/graphics/cursor.cpp
+++ b/engines/sci/graphics/cursor.cpp
@@ -120,7 +120,7 @@ void GfxCursor::kernelSetShape(GuiResourceId resourceId) {
colorMapping[0] = 0; // Black is hardcoded
colorMapping[1] = _screen->getColorWhite(); // White is also hardcoded
colorMapping[2] = SCI_CURSOR_SCI0_TRANSPARENCYCOLOR;
- colorMapping[3] = _palette->matchColor(&_palette->_sysPalette, 170, 170, 170); // Grey
+ colorMapping[3] = _palette->matchColor(170, 170, 170); // Grey
// Seek to actual data
resourceData += 4;