From 95cefe311c29a5ea81ac17db25ecf142bd8352de Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Wed, 21 Oct 2009 15:23:05 +0000 Subject: SCI/newgui: kAnimate - now reads out signal again in .dispose loop, just in case. Currently there is no issue known. svn-id: r45309 --- engines/sci/gui/gui_animate.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/sci/gui/gui_animate.cpp b/engines/sci/gui/gui_animate.cpp index f52c5c7ae5..cab34a2a21 100644 --- a/engines/sci/gui/gui_animate.cpp +++ b/engines/sci/gui/gui_animate.cpp @@ -445,7 +445,8 @@ void SciGuiAnimate::restoreAndDelete(int argc, reg_t *argv) { while (listIterator != listEnd) { listEntry = *listIterator; curObject = listEntry->object; - signal = listEntry->signal; + // We read out signal here again, this is not by accident but to ensure that we got an up-to-date signal + signal = GET_SEL32V(segMan, curObject, signal); if ((signal & (SCI_ANIMATE_SIGNAL_NOUPDATE | SCI_ANIMATE_SIGNAL_REMOVEVIEW)) == 0) { _gfx->BitsRestore(GET_SEL32(segMan, curObject, underBits)); -- cgit v1.2.3