diff options
author | Borja Lorente | 2016-06-25 22:21:26 +0200 |
---|---|---|
committer | Borja Lorente | 2016-08-14 18:40:24 +0200 |
commit | 45a2aa94b9e79bfe1e384d1240018abdc8df8f84 (patch) | |
tree | 1e70b95449cd2585213a99db138b6ef7e3b32f5a /engines/macventure/image.cpp | |
parent | 4837b7750a5494f7002f8f7c5d47ba44621dd425 (diff) | |
download | scummvm-rg350-45a2aa94b9e79bfe1e384d1240018abdc8df8f84.tar.gz scummvm-rg350-45a2aa94b9e79bfe1e384d1240018abdc8df8f84.tar.bz2 scummvm-rg350-45a2aa94b9e79bfe1e384d1240018abdc8df8f84.zip |
MACVENTURE: Fix rect collission
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 1a50a4ffbc..e70a82154f 100644 --- a/engines/macventure/image.cpp +++ b/engines/macventure/image.cpp @@ -80,7 +80,7 @@ void ImageAsset::decodePPIC(ObjID id, Common::Array<byte> &data) { if (size == 2 || size == 0) { realID = _container->getItem(id)->readUint16BE(); } - Common::BitStream32BEMSB stream(_container->getItem(realID)); + Common::BitStream32BEMSB stream(_container->getItem(realID), true); uint8 mode = stream.getBits(3); int w, h; @@ -367,7 +367,7 @@ uint ImageAsset::getWidth() { } uint ImageAsset::getHeight() { - return _bitWidth; + return _bitHeight; } void ImageAsset::blitDirect(Graphics::ManagedSurface * target, uint32 ox, uint32 oy, const Common::Array<byte>& data) { |