aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/image.cpp
diff options
context:
space:
mode:
authorBorja Lorente2016-06-28 20:56:55 +0200
committerBorja Lorente2016-08-14 18:41:15 +0200
commit0485483254e9ce94acfd4750122a466984227904 (patch)
tree4a48b4adb66ba658a6da038cffa904598d37b108 /engines/macventure/image.cpp
parent08588eb6f914fc77aa443f3844681787bde02949 (diff)
downloadscummvm-rg350-0485483254e9ce94acfd4750122a466984227904.tar.gz
scummvm-rg350-0485483254e9ce94acfd4750122a466984227904.tar.bz2
scummvm-rg350-0485483254e9ce94acfd4750122a466984227904.zip
MACVENTURE: Minor fixes and skull rising
Diffstat (limited to 'engines/macventure/image.cpp')
-rw-r--r--engines/macventure/image.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/macventure/image.cpp b/engines/macventure/image.cpp
index e70a82154f..d880e142bb 100644
--- a/engines/macventure/image.cpp
+++ b/engines/macventure/image.cpp
@@ -192,9 +192,9 @@ void ImageAsset::decodeHuffGraphic(const PPICHuff & huff, Common::BitStream & st
blank = 2 - (blank >> 1);
}
- uint pos = 0;
+ uint16 pos = 0;
for (uint y = 0; y < _bitHeight; y++) {
- uint x = 0;
+ uint16 x = 0;
for (; x < _bitWidth >> 3; x++) {
byte hi = walkHuff(huff, stream) << 4;
data[pos++] = walkHuff(huff, stream) | hi;