diff options
author | md5 | 2011-02-26 05:15:23 +0200 |
---|---|---|
committer | md5 | 2011-02-26 05:19:11 +0200 |
commit | 67aee1ebd85963b3034103a8681efabb33ea7b85 (patch) | |
tree | 2b06f0dc6f430a2d0b60e72641422c6ffb365431 | |
parent | a441069a4983f3a2b3c6402f1c8697003415fa55 (diff) | |
download | scummvm-rg350-67aee1ebd85963b3034103a8681efabb33ea7b85.tar.gz scummvm-rg350-67aee1ebd85963b3034103a8681efabb33ea7b85.tar.bz2 scummvm-rg350-67aee1ebd85963b3034103a8681efabb33ea7b85.zip |
SCI: Slight cleanup in the animate code
-rw-r--r-- | engines/sci/graphics/animate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/graphics/animate.cpp b/engines/sci/graphics/animate.cpp index 5f9c5b86d6..0eb7b954a4 100644 --- a/engines/sci/graphics/animate.cpp +++ b/engines/sci/graphics/animate.cpp @@ -371,7 +371,7 @@ void GfxAnimate::update() { it->showBitsFlag = true; it->signal &= ~(kSignalStopUpdate | kSignalViewUpdated | kSignalNoUpdate | kSignalForceUpdate); - if ((it->signal & kSignalIgnoreActor) == 0) { + if (!(it->signal & kSignalIgnoreActor)) { rect = it->celRect; rect.top = CLIP<int16>(_ports->kernelPriorityToCoordinate(it->priority) - 1, rect.top, rect.bottom - 1); _paint16->fillRect(rect, GFX_SCREEN_MASK_CONTROL, 0, 0, 15); @@ -563,7 +563,7 @@ void GfxAnimate::addToPicDrawCels() { // draw corresponding cel _paint16->drawCel(view, it->loopNo, it->celNo, it->celRect, it->priority, it->paletteNo, it->scaleX, it->scaleY); - if ((it->signal & kSignalIgnoreActor) == 0) { + if (!(it->signal & kSignalIgnoreActor)) { it->celRect.top = CLIP<int16>(_ports->kernelPriorityToCoordinate(it->priority) - 1, it->celRect.top, it->celRect.bottom - 1); _paint16->fillRect(it->celRect, GFX_SCREEN_MASK_CONTROL, 0, 0, 15); } |