aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));