diff options
author | Martin Kiewitz | 2010-10-26 15:29:04 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-10-26 15:29:04 +0000 |
commit | a877ba002681f08785c6e01ab341193158c9c648 (patch) | |
tree | 4177cdd66bf467cfb1e42c23e0c32559f539f5a4 /engines/sci | |
parent | f9cb635b5825c89e0084c9e75d420cb9d582ca34 (diff) | |
download | scummvm-rg350-a877ba002681f08785c6e01ab341193158c9c648.tar.gz scummvm-rg350-a877ba002681f08785c6e01ab341193158c9c648.tar.bz2 scummvm-rg350-a877ba002681f08785c6e01ab341193158c9c648.zip |
SCI: little cleanup kAnimate
svn-id: r53852
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/graphics/animate.cpp | 6 | ||||
-rw-r--r-- | engines/sci/graphics/animate.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/graphics/animate.cpp b/engines/sci/graphics/animate.cpp index 761b80d769..30329fa688 100644 --- a/engines/sci/graphics/animate.cpp +++ b/engines/sci/graphics/animate.cpp @@ -219,7 +219,7 @@ void GfxAnimate::applyGlobalScaling(AnimateList::iterator entry, GfxView *view) writeSelectorValue(_s->_segMan, curObject, SELECTOR(scaleY), entry->scaleY); } -void GfxAnimate::fill(byte &old_picNotValid, bool maySetNsRect) { +void GfxAnimate::fill(byte &old_picNotValid) { reg_t curObject; uint16 signal; GfxView *view = NULL; @@ -274,7 +274,7 @@ void GfxAnimate::fill(byte &old_picNotValid, bool maySetNsRect) { //warning("%s view %d, loop %d, cel %d, signal %x", _s->_segMan->getObjectName(curObject), it->viewId, it->loopNo, it->celNo, it->signal); - bool setNsRect = maySetNsRect; + bool setNsRect = true; // Create rect according to coordinates and given cel if (it->scaleSignal & kScaleSignalDoScaling) { @@ -660,7 +660,7 @@ void GfxAnimate::kernelAnimate(reg_t listReference, bool cycle, int argc, reg_t disposeLastCast(); makeSortedList(list); - fill(old_picNotValid, true); + fill(old_picNotValid); if (old_picNotValid) { // beginUpdate()/endUpdate() were introduced SCI1. diff --git a/engines/sci/graphics/animate.h b/engines/sci/graphics/animate.h index 23e7a624d8..12c8bd0643 100644 --- a/engines/sci/graphics/animate.h +++ b/engines/sci/graphics/animate.h @@ -97,7 +97,7 @@ public: bool invoke(List *list, int argc, reg_t *argv); void makeSortedList(List *list); void applyGlobalScaling(AnimateList::iterator entry, GfxView *view); - void fill(byte &oldPicNotValid, bool maySetNsRect); + void fill(byte &oldPicNotValid); void update(); void drawCels(); void updateScreen(byte oldPicNotValid); |