diff options
author | Max Horn | 2003-05-10 12:59:32 +0000 |
---|---|---|
committer | Max Horn | 2003-05-10 12:59:32 +0000 |
commit | 114af3159e7c4fc552972a460f845e982fbc6ef5 (patch) | |
tree | c941da35b4115d80046ace0f8d05f1026cdd78ba /scumm/object.cpp | |
parent | 97197f95ea5159e3b8caa5cc7f92fdbf0523a9ed (diff) | |
download | scummvm-rg350-114af3159e7c4fc552972a460f845e982fbc6ef5.tar.gz scummvm-rg350-114af3159e7c4fc552972a460f845e982fbc6ef5.tar.bz2 scummvm-rg350-114af3159e7c4fc552972a460f845e982fbc6ef5.zip |
added a 'width' parameter to drawBitmap (contrary to 'numstrips', it specifies the full width of the image passed in, not how much we shoul draw of it) - this will be used for the new V2 drawBitmap code; renamed drawBitmap parameter 'h' to 'height'
svn-id: r7412
Diffstat (limited to 'scumm/object.cpp')
-rw-r--r-- | scumm/object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp index fd33c4a140..f022af1a95 100644 --- a/scumm/object.cpp +++ b/scumm/object.cpp @@ -396,7 +396,7 @@ void Scumm::drawObject(int obj, int arg) { // the inventory and conversation icons. if ((_features & GF_AFTER_V7 || _gameId == GID_SAMNMAX) && getClass(od->obj_nr, 22)) flags |= Gdi::dbDrawMaskOnAll; - gdi.drawBitmap(ptr, &virtscr[0], x, ypos, height, x - xpos, numstrip, flags); + gdi.drawBitmap(ptr, &virtscr[0], x, ypos, width << 3, height, x - xpos, numstrip, flags); } } |