diff options
Diffstat (limited to 'engines/scumm/he/wiz_he.cpp')
-rw-r--r-- | engines/scumm/he/wiz_he.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/scumm/he/wiz_he.cpp b/engines/scumm/he/wiz_he.cpp index ba5c66e453..55de8831ce 100644 --- a/engines/scumm/he/wiz_he.cpp +++ b/engines/scumm/he/wiz_he.cpp @@ -23,6 +23,7 @@ #include "common/stdafx.h" +#include "common/system.h" #include "scumm/he/intern_he.h" #include "scumm/resource.h" #include "scumm/scumm.h" @@ -1523,6 +1524,11 @@ void Wiz::loadWizCursor(int resId) { getWizImageDim(resId, 0, cw, ch); _vm->setCursorFromBuffer(cursor, cw, ch, cw); _vm->setCursorHotspot(x, y); + + // Since we set up cursor palette for default cursor, disable it now + if (_vm->_system->hasFeature(OSystem::kFeatureCursorHasPalette)) + _vm->_system->disableCursorPalette(true); + free(cursor); } |