diff options
author | Borja Lorente | 2016-06-22 00:47:53 +0200 |
---|---|---|
committer | Borja Lorente | 2016-08-14 18:32:46 +0200 |
commit | 0743e9531b5ef871e17cd7ca88966ea2c07b7147 (patch) | |
tree | bcdb310d791ae610a2e3c6a1424987d7e3f2d385 /engines/macventure/image.cpp | |
parent | 4d8f8fd36bdb9b1f807f4da04c9e3e4c3438dbfa (diff) | |
download | scummvm-rg350-0743e9531b5ef871e17cd7ca88966ea2c07b7147.tar.gz scummvm-rg350-0743e9531b5ef871e17cd7ca88966ea2c07b7147.tar.bz2 scummvm-rg350-0743e9531b5ef871e17cd7ca88966ea2c07b7147.zip |
MACVENTURE: Implemente dynamic object drawing
Diffstat (limited to 'engines/macventure/image.cpp')
-rw-r--r-- | engines/macventure/image.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/macventure/image.cpp b/engines/macventure/image.cpp index 46d440c957..47b755a829 100644 --- a/engines/macventure/image.cpp +++ b/engines/macventure/image.cpp @@ -318,9 +318,9 @@ byte ImageAsset::walkHuff(const PPICHuff & huff, Common::BitStream & stream) { } void ImageAsset::blitInto(Graphics::ManagedSurface *target, uint32 x, uint32 y, BlitMode mode) { - debug("Blitting image %x ", _id); if (mode == kBlitDirect) { blitDirect(target, x, y, _imgData); + return; } if (_container->getItemByteSize(_mask)) { // Has mask @@ -344,7 +344,7 @@ void ImageAsset::blitInto(Graphics::ManagedSurface *target, uint32 x, uint32 y, } } if (_container->getItemByteSize(_id) && mode > 0) { - blitXOR(target, x, y, _maskData); + blitXOR(target, x, y, _imgData); } } |