mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-19 08:06:42 +00:00
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:
parent
07222b8e89
commit
e85553b024
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user