aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarek Soliman2017-01-14 21:32:03 -0600
committerTarek Soliman2017-01-31 17:20:45 -0600
commit6ef42cbe922b8f58c643dc648f481b096b82f451 (patch)
tree9589d6881066d562af1cffb2fd29a991e8761dc7
parentd4e4a20cc53b28db31a66af3fd5d4b7569fad3c8 (diff)
downloadscummvm-rg350-6ef42cbe922b8f58c643dc648f481b096b82f451.tar.gz
scummvm-rg350-6ef42cbe922b8f58c643dc648f481b096b82f451.tar.bz2
scummvm-rg350-6ef42cbe922b8f58c643dc648f481b096b82f451.zip
SCI: Expand workaround for script bug #3537232
More details in PR#889
-rw-r--r--engines/sci/engine/kgraphics.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index c605ba29e1..efa34b5f1f 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -671,7 +671,9 @@ reg_t kPaletteAnimate(EngineState *s, int argc, reg_t *argv) {
// palette animation effect slower and visible, and not have the logo screen
// get skipped because the scripts don't wait between animation steps. Fixes
// bug #3537232.
- if (g_sci->getGameId() == GID_SQ4 && !g_sci->isCD() && s->currentRoomNumber() == 1)
+ // This problem also happens in the time pod (room#531)
+ // This problem also happens in the ending cutscene time rip (room#21)
+ if (g_sci->getGameId() == GID_SQ4 && !g_sci->isCD())
g_sci->sleep(10);
return s->r_acc;