diff options
author | Martin Kiewitz | 2010-10-24 21:49:22 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-10-24 21:49:22 +0000 |
commit | b581a866a9131d8b669e897b62540f227013f82d (patch) | |
tree | c6c5b11e3e5d9949c14f30ea2784cd98f542e191 /engines | |
parent | cb6efae5afef01034544f7f9ac9da98cd44e3475 (diff) | |
download | scummvm-rg350-b581a866a9131d8b669e897b62540f227013f82d.tar.gz scummvm-rg350-b581a866a9131d8b669e897b62540f227013f82d.tar.bz2 scummvm-rg350-b581a866a9131d8b669e897b62540f227013f82d.zip |
SCI: fixing obvious kAddToPic regression
caused by r53068, triggered bug #3092840 (SQ5 genetix lab scaled incorrectly when laying course) - thx to digitall for bisect
svn-id: r53775
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/animate.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/graphics/animate.cpp b/engines/sci/graphics/animate.cpp index 62c5f9c19e..a35162f07e 100644 --- a/engines/sci/graphics/animate.cpp +++ b/engines/sci/graphics/animate.cpp @@ -575,7 +575,9 @@ void GfxAnimate::addToPicDrawCels() { // Create rect according to coordinates and given cel if (it->scaleSignal & kScaleSignalDoScaling) { - applyGlobalScaling(it, view); + if (it->scaleSignal & kScaleSignalGlobalScaling) { + applyGlobalScaling(it, view); + } view->getCelScaledRect(it->loopNo, it->celNo, it->x, it->y, it->z, it->scaleX, it->scaleY, it->celRect); writeSelectorValue(_s->_segMan, curObject, SELECTOR(nsLeft), it->celRect.left); writeSelectorValue(_s->_segMan, curObject, SELECTOR(nsTop), it->celRect.top); |