SCI/newgui: change in windowMgr, so that removed windows will get restored in any case (ReAnimate currently not implemented yet)

svn-id: r44967
This commit is contained in:
Martin Kiewitz 2009-10-12 07:18:38 +00:00
parent 07222b8e89
commit e85553b024

View File

@ -249,8 +249,8 @@ void SciGuiWindowMgr::DisposeWindow(GuiWindow *pWnd, int16 arg2) {
_gfx->BitsRestore(pWnd->hSaved2);
if (arg2)
_gfx->BitsShow(pWnd->restoreRect);
// else
// g_sci->ReAnimate(&pwnd->dims);
else
_gfx->BitsShow(pWnd->restoreRect); // FIXME: dummy, should be ReAnimate(&pwnd->dims);
_windowList.remove(pWnd);
_gfx->SetPort(_windowList.back());
_windowsById[pWnd->id] = 0;