aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-12 07:18:38 +0000
committerMartin Kiewitz2009-10-12 07:18:38 +0000
commite85553b024cb6e7d8f4e079eb9176d000e6329c9 (patch)
treee3992444b8998a5356ffd1c2ab6d49e2bd432d88 /engines/sci/gui
parent07222b8e89819f63ebd6cac535c7dda41a001146 (diff)
downloadscummvm-rg350-e85553b024cb6e7d8f4e079eb9176d000e6329c9.tar.gz
scummvm-rg350-e85553b024cb6e7d8f4e079eb9176d000e6329c9.tar.bz2
scummvm-rg350-e85553b024cb6e7d8f4e079eb9176d000e6329c9.zip
SCI/newgui: change in windowMgr, so that removed windows will get restored in any case (ReAnimate currently not implemented yet)
svn-id: r44967
Diffstat (limited to 'engines/sci/gui')
-rw-r--r--engines/sci/gui/gui_windowmgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/gui/gui_windowmgr.cpp b/engines/sci/gui/gui_windowmgr.cpp
index 908c645d94..0dee03fefc 100644
--- a/engines/sci/gui/gui_windowmgr.cpp
+++ b/engines/sci/gui/gui_windowmgr.cpp
@@ -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;