Re-render the cursor when enabling/disabling cursor palette. Also, I don't

think _cursorHasOwnPalette is needed any more, so I've removed it.

svn-id: r22541
This commit is contained in:
Torbjörn Andersson 2006-05-20 09:27:56 +00:00
parent 22fb1e48ef
commit 407cb66502
3 changed files with 10 additions and 8 deletions

View file

@ -181,7 +181,7 @@ OSystem_SDL::OSystem_SDL()
_cdrom(0), _scalerProc(0), _modeChanged(false), _dirtyChecksums(0),
_mouseVisible(false), _mouseDrawn(false), _mouseData(0), _mouseSurface(0),
_mouseOrigSurface(0), _mouseHotspotX(0), _mouseHotspotY(0), _cursorTargetScale(1),
_cursorHasOwnPalette(false), _cursorPaletteDisabled(true),
_cursorPaletteDisabled(true),
_joystick(0),
_currentShakePos(0), _newShakePos(0),
_paletteDirtyStart(0), _paletteDirtyEnd(0),