diff options
author | Filippos Karapetis | 2012-06-15 11:33:28 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-06-15 12:24:12 +0300 |
commit | 425926ed7ebde1fa77f3874498a6f285af75ac08 (patch) | |
tree | 2b4dcf90a738674212264ccb1b70392b10ee91d9 | |
parent | 85e0a90f4adb1e2b811ca7c02ad594ecdcd11bea (diff) | |
download | scummvm-rg350-425926ed7ebde1fa77f3874498a6f285af75ac08.tar.gz scummvm-rg350-425926ed7ebde1fa77f3874498a6f285af75ac08.tar.bz2 scummvm-rg350-425926ed7ebde1fa77f3874498a6f285af75ac08.zip |
SCI: Limit floodfill hack to GK1
Fixes the intro of LSL7 and the inventory screen in PQ4
-rw-r--r-- | engines/sci/graphics/frameout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp index db49497b6b..dff332458a 100644 --- a/engines/sci/graphics/frameout.cpp +++ b/engines/sci/graphics/frameout.cpp @@ -647,7 +647,7 @@ void GfxFrameout::kernelFrameout() { // 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 == kPlanePlainColored) // FIXME: This is what SSCI does, and fixes the intro of LSL7, but breaks the dialogs in GK1 (adds black boxes) - if (it->pictureId == kPlanePlainColored && it->planeBack) + if (it->pictureId == kPlanePlainColored && (it->planeBack || g_sci->getGameId() != GID_GK1)) _paint32->fillRect(it->planeRect, it->planeBack); _coordAdjuster->pictureSetDisplayArea(it->planeRect); |