[Scummvm-git-logs] scummvm master -> 6ef42cbe922b8f58c643dc648f481b096b82f451

tsoliman tarek at bashasoliman.com
Wed Feb 1 00:22:03 CET 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
6ef42cbe92 SCI: Expand workaround for script bug #3537232


Commit: 6ef42cbe922b8f58c643dc648f481b096b82f451
    https://github.com/scummvm/scummvm/commit/6ef42cbe922b8f58c643dc648f481b096b82f451
Author: Tarek Soliman (tsoliman at scummvm.org)
Date: 2017-01-31T17:20:45-06:00

Commit Message:
SCI: Expand workaround for script bug #3537232

More details in PR#889

Changed paths:
    engines/sci/engine/kgraphics.cpp


diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index c605ba2..efa34b5 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;





More information about the Scummvm-git-logs mailing list