aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-21 15:23:05 +0000
committerMartin Kiewitz2009-10-21 15:23:05 +0000
commit95cefe311c29a5ea81ac17db25ecf142bd8352de (patch)
tree9002dfc957c308ac2aaaa55eb07532a5e4bd7f4b /engines
parentc9e618b6a5b682f2bc1b62a1c6b09bad3e7391b0 (diff)
downloadscummvm-rg350-95cefe311c29a5ea81ac17db25ecf142bd8352de.tar.gz
scummvm-rg350-95cefe311c29a5ea81ac17db25ecf142bd8352de.tar.bz2
scummvm-rg350-95cefe311c29a5ea81ac17db25ecf142bd8352de.zip
SCI/newgui: kAnimate - now reads out signal again in .dispose loop, just in case. Currently there is no issue known.
svn-id: r45309
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/gui/gui_animate.cpp3
1 files changed, 2 insertions, 1 deletions
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));