Fix cursor cycle color for v1 games

svn-id: r9775
This commit is contained in:
Travis Howell 2003-08-19 04:28:52 +00:00
parent d6105a3064
commit 2dd4c40868

View File

@ -151,10 +151,16 @@ static const TransitionEffect transitionEffects[5] = {
/*
* Mouse cursor cycle colors (for the default crosshair).
*/
static const byte default_v1_cursor_colors[4] = {
1, 1, 12, 11
};
static const byte default_cursor_colors[4] = {
15, 15, 7, 8
};
static const uint16 default_cursor_images[5][16] = {
/* cross-hair */
{ 0x0080, 0x0080, 0x0080, 0x0080, 0x0080, 0x0080, 0x0000, 0x7e3f,
@ -3502,7 +3508,10 @@ void Scumm::decompressDefaultCursor(int idx) {
memset(_grabbedCursor, 0xFF, sizeof(_grabbedCursor));
color = default_cursor_colors[idx];
if (_version == 1)
color = default_v1_cursor_colors[idx];
else
color = default_cursor_colors[idx];
// FIXME: None of the stock cursors are right for Loom. Why is that?