aboutsummaryrefslogtreecommitdiff
path: root/scumm/object.cpp
diff options
context:
space:
mode:
authorMax Horn2003-01-12 13:58:16 +0000
committerMax Horn2003-01-12 13:58:16 +0000
commitaa60f424bacaffe6c8d75703ec0ce267e0d75e26 (patch)
tree88f86c7a06df980b3619e54a8f5e1caa7aecc69d /scumm/object.cpp
parent5db47f56d0cd3bcfd8a62d6c81027777af16eb8e (diff)
downloadscummvm-rg350-aa60f424bacaffe6c8d75703ec0ce267e0d75e26.tar.gz
scummvm-rg350-aa60f424bacaffe6c8d75703ec0ce267e0d75e26.tar.bz2
scummvm-rg350-aa60f424bacaffe6c8d75703ec0ce267e0d75e26.zip
fix banjo duel crash
svn-id: r6427
Diffstat (limited to 'scumm/object.cpp')
-rw-r--r--scumm/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index 6054f4a41a..c5d1c042bb 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -356,7 +356,7 @@ void Scumm::drawObject(int obj, int arg)
ypos = od->y_pos;
width = od->width >> 3;
- height = od->height &= 0xF8; // Ender
+ height = od->height &= 0xFFFFFFF8; // Mask out last 3 bits
if (width == 0 || xpos > _screenEndStrip || xpos + width < _screenStartStrip)
return;