diff options
| author | Colin Snover | 2017-02-08 21:46:28 -0600 |
|---|---|---|
| committer | Colin Snover | 2017-04-22 19:25:20 -0500 |
| commit | 81059847034f0fb868e64255e341b17f8d62c591 (patch) | |
| tree | 6e8f8bd480483080219cbf54bc74c04ffec25caa | |
| parent | ede7976ede9121d52932b4b0780e6adc68f6e35d (diff) | |
| download | scummvm-rg350-81059847034f0fb868e64255e341b17f8d62c591.tar.gz scummvm-rg350-81059847034f0fb868e64255e341b17f8d62c591.tar.bz2 scummvm-rg350-81059847034f0fb868e64255e341b17f8d62c591.zip | |
SCI32: Fix broken final step of 2.1mid+ pixel dissolve
| -rw-r--r-- | engines/sci/graphics/transitions32.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/graphics/transitions32.cpp b/engines/sci/graphics/transitions32.cpp index bc2825ba77..6da1772c48 100644 --- a/engines/sci/graphics/transitions32.cpp +++ b/engines/sci/graphics/transitions32.cpp @@ -799,7 +799,7 @@ bool GfxTransitions32::processPixelDissolve21Early(PlaneShowStyle &showStyle) { } bool GfxTransitions32::processPixelDissolve21Mid(const PlaneShowStyle &showStyle) { - // SQ6 room 530 + // SQ6 room 530, LSL7 room 130 Plane* plane = g_sci->_gfxFrameout->getVisiblePlanes().findByObject(showStyle.plane); const Common::Rect &screenRect = plane->_screenRect; @@ -869,8 +869,8 @@ bool GfxTransitions32::processPixelDissolve21Mid(const PlaneShowStyle &showStyle rect.left = screenRect.left; rect.top = screenRect.top; - rect.right = divisions + screenRect.left; - rect.bottom = divisions + screenRect.bottom; + rect.right = screenRect.left + divisions; + rect.bottom = screenRect.top + divisions; addShowRect(rect); sendShowRects(); |
