aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authorFilippos Karapetis2013-04-25 02:36:03 +0300
committerFilippos Karapetis2013-04-25 02:36:03 +0300
commit41e02baff162f8e9b910af22b371f838e16c8377 (patch)
treeceb5f1177ebd33cae349f067f57e54b586288df4 /engines/sci/graphics
parent53f38aeff17913d33f5c64eaa2410dd1d4d71f9e (diff)
downloadscummvm-rg350-41e02baff162f8e9b910af22b371f838e16c8377.tar.gz
scummvm-rg350-41e02baff162f8e9b910af22b371f838e16c8377.tar.bz2
scummvm-rg350-41e02baff162f8e9b910af22b371f838e16c8377.zip
SCI: Fix scaling in the back room of the bookstore in GK1
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r--engines/sci/graphics/frameout.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp
index 5f65762685..bf1ce6da64 100644
--- a/engines/sci/graphics/frameout.cpp
+++ b/engines/sci/graphics/frameout.cpp
@@ -747,7 +747,8 @@ void GfxFrameout::kernelFrameout() {
// TODO: We can only process symmetrical scaling for now (i.e. same value for scaleX/scaleY)
if ((itemEntry->scaleSignal & kScaleSignalDoScaling32) &&
!(itemEntry->scaleSignal & kScaleSignalDisableGlobalScaling32) &&
- (itemEntry->scaleX == itemEntry->scaleY))
+ (itemEntry->scaleX == itemEntry->scaleY) &&
+ itemEntry->scaleX != 128)
applyGlobalScaling(itemEntry, it->planeRect, view->getHeight(itemEntry->loopNo, itemEntry->celNo));
if ((itemEntry->scaleX == 128) && (itemEntry->scaleY == 128))