Fix KYRA's cursor handling by pushing a dummy cursor via CursorMan.pushCursor too. Also replace CursorMan.popAllCursors by CursorMan.popCursor to prevent the caller's cursor from being destroyed.

svn-id: r48621
This commit is contained in:
Johannes Schickel 2010-04-11 17:27:33 +00:00
parent 29172d4844
commit 175a81ce98

View File

@ -70,7 +70,7 @@ Screen::~Screen() {
for (uint i = 0; i < _palettes.size(); ++i)
delete _palettes[i];
CursorMan.popAllCursors();
CursorMan.popCursor();
}
bool Screen::init() {
@ -158,6 +158,7 @@ bool Screen::init() {
_animBlockPtr = NULL;
_animBlockSize = 0;
_mouseLockCount = 1;
CursorMan.pushCursor(NULL, 0, 0, 0, 0, 0);
CursorMan.showMouse(false);
_forceFullUpdate = false;