SCI/newgui: kAnimate - now reads out signal again in .dispose loop, just in case. Currently there is no issue known.

svn-id: r45309
This commit is contained in:
Martin Kiewitz 2009-10-21 15:23:05 +00:00
parent c9e618b6a5
commit 95cefe311c

View File

@ -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));