aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r--engines/sci/graphics/frameout.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp
index 6bd310f1a0..fcd22de7e1 100644
--- a/engines/sci/graphics/frameout.cpp
+++ b/engines/sci/graphics/frameout.cpp
@@ -368,7 +368,10 @@ void GfxFrameout::kernelFrameout() {
continue;
}
- if (it->planeBack)
+ // There is a race condition lurking in SQ6, which causes the game to hang in the intro, when teleporting to Polysorbate LX.
+ // Since I first wrote the patch, the race has stopped occurring for me though.
+ // I'll leave this for investigation later, when someone can reproduce.
+ if (it->pictureId == 0xffff)
_paint32->fillRect(it->planeRect, it->planeBack);
GuiResourceId planeMainPictureId = it->pictureId;