aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-06-10 15:01:20 +0000
committerJohannes Schickel2009-06-10 15:01:20 +0000
commit3a32d7711b813e8de1d0a5a05fa48368a8a1206a (patch)
treecc1e8fac906932e3d84a1d137d22d1e020f231e3
parentad98719ba260caa602aa38522ce06f85bb621f1b (diff)
downloadscummvm-rg350-3a32d7711b813e8de1d0a5a05fa48368a8a1206a.tar.gz
scummvm-rg350-3a32d7711b813e8de1d0a5a05fa48368a8a1206a.tar.bz2
scummvm-rg350-3a32d7711b813e8de1d0a5a05fa48368a8a1206a.zip
Fix a bug in disableCursorPalette, where it never allowed the palette to be enabled properly again.
svn-id: r41428
-rw-r--r--graphics/cursorman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/cursorman.cpp b/graphics/cursorman.cpp
index fe5f653b94..462897ac57 100644
--- a/graphics/cursorman.cpp
+++ b/graphics/cursorman.cpp
@@ -139,7 +139,7 @@ void CursorManager::disableCursorPalette(bool disable) {
Palette *pal = _cursorPaletteStack.top();
pal->_disabled = disable;
- g_system->disableCursorPalette(true);
+ g_system->disableCursorPalette(disable);
}
void CursorManager::pushCursorPalette(const byte *colors, uint start, uint num) {