diff options
author | Paul Gilbert | 2011-02-23 19:46:32 +1100 |
---|---|---|
committer | Paul Gilbert | 2011-02-23 19:47:07 +1100 |
commit | 0d6069e5710714230b243972eeff1003cb0ca70d (patch) | |
tree | 1bc3d08e597db7f049ab801199134788aad5b322 | |
parent | db7dea36cff7fc398976724b05c927a635574161 (diff) | |
download | scummvm-rg350-0d6069e5710714230b243972eeff1003cb0ca70d.tar.gz scummvm-rg350-0d6069e5710714230b243972eeff1003cb0ca70d.tar.bz2 scummvm-rg350-0d6069e5710714230b243972eeff1003cb0ca70d.zip |
CRUISE: Bugfix for #3188309 - black text at end of introduction
-rw-r--r-- | engines/cruise/cruise_main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/cruise/cruise_main.cpp b/engines/cruise/cruise_main.cpp index 6b487fadc9..99de66deb6 100644 --- a/engines/cruise/cruise_main.cpp +++ b/engines/cruise/cruise_main.cpp @@ -1889,7 +1889,7 @@ void CruiseEngine::mainLoop() { // FIXME: I suspect that the original game does multiple script executions between game frames; the bug with // Raoul appearing when looking at the book is being there are 3 script iterations separation between the // scene being changed to the book, and the Raoul actor being frozen/disabled. This loop is a hack to ensure - // that when a background changes, a few extra script executions are done + // that does a few extra script executions for that scene bool bgChanged; int numIterations = 1; @@ -1902,7 +1902,8 @@ void CruiseEngine::mainLoop() { removeFinishedScripts(&relHead); removeFinishedScripts(&procHead); - if (!bgChanged && backgroundChanged[masterScreen]) { + if (!bgChanged && backgroundChanged[masterScreen] && + !strcmp(backgroundTable[0].name, "S06B.PI1")) { bgChanged = true; numIterations += 2; } |