diff options
author | Johannes Schickel | 2006-03-17 20:49:12 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-03-17 20:49:12 +0000 |
commit | 0ebebb1176446512d502794ee25b0b07beab7051 (patch) | |
tree | 90681841133abcb7976a52f58a1f97c6f1862290 /engines/kyra | |
parent | 41b4a6aa7cd5861aacdc107605e64f7f3a48b491 (diff) | |
download | scummvm-rg350-0ebebb1176446512d502794ee25b0b07beab7051.tar.gz scummvm-rg350-0ebebb1176446512d502794ee25b0b07beab7051.tar.bz2 scummvm-rg350-0ebebb1176446512d502794ee25b0b07beab7051.zip |
Fixes animations when brandon turns inivisible/visible.
svn-id: r21348
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/animator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/animator.cpp b/engines/kyra/animator.cpp index 8d7ac5d34c..e28860a435 100644 --- a/engines/kyra/animator.cpp +++ b/engines/kyra/animator.cpp @@ -339,7 +339,7 @@ void ScreenAnimator::prepDrawAllObjects() { if (!_vm->_scaleMode) { if (flagUnk3 & 0x100) { _screen->drawShape(drawPage, curObject->sceneAnimPtr, xpos, ypos, 2, curObject->flags | flagUnk1 | 0x100, (uint8*)_vm->_brandonPoisonFlagsGFX, int(1), drawLayer); - } else if (flagUnk3 & 0x4000) { + } else if (flagUnk2 & 0x4000) { _screen->drawShape(drawPage, curObject->sceneAnimPtr, xpos, ypos, 2, curObject->flags | flagUnk1 | 0x4000, int(_vm->_brandonInvFlag), drawLayer); } else { _screen->drawShape(drawPage, curObject->sceneAnimPtr, xpos, ypos, 2, curObject->flags | flagUnk1, drawLayer); @@ -347,7 +347,7 @@ void ScreenAnimator::prepDrawAllObjects() { } else { if (flagUnk3 & 0x100) { _screen->drawShape(drawPage, curObject->sceneAnimPtr, xpos, ypos, 2, curObject->flags | flagUnk1 | 0x104, (uint8*)_vm->_brandonPoisonFlagsGFX, int(1), drawLayer, _brandonScaleX, _brandonScaleY); - } else if (flagUnk3 & 0x4000) { + } else if (flagUnk2 & 0x4000) { _screen->drawShape(drawPage, curObject->sceneAnimPtr, xpos, ypos, 2, curObject->flags | flagUnk1 | 0x4004, int(_vm->_brandonInvFlag), drawLayer, _brandonScaleX, _brandonScaleY); } else { _screen->drawShape(drawPage, curObject->sceneAnimPtr, xpos, ypos, 2, curObject->flags | flagUnk1 | 0x4, drawLayer, _brandonScaleX, _brandonScaleY); |