diff options
author | Sven Hesse | 2007-04-15 12:46:10 +0000 |
---|---|---|
committer | Sven Hesse | 2007-04-15 12:46:10 +0000 |
commit | 72edefea5146aa09e31e330b93651ac1ac0f5ea5 (patch) | |
tree | 9a43b95a50be8f44074c721b07b2e8da51261fb8 /engines | |
parent | 258ab37a9a0b2ca426d2908408dfe09e451eea02 (diff) | |
download | scummvm-rg350-72edefea5146aa09e31e330b93651ac1ac0f5ea5.tar.gz scummvm-rg350-72edefea5146aa09e31e330b93651ac1ac0f5ea5.tar.bz2 scummvm-rg350-72edefea5146aa09e31e330b93651ac1ac0f5ea5.zip |
Fixed another IMD drawing glitch (noticeable after Ooya gets his magic bag back)
svn-id: r26492
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gob/imd.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/gob/imd.cpp b/engines/gob/imd.cpp index d9faba5b61..c1a932a601 100644 --- a/engines/gob/imd.cpp +++ b/engines/gob/imd.cpp @@ -1011,6 +1011,8 @@ uint32 ImdPlayer::view(Imd *imdPtr, int16 frame) { _top = yBak = imdPtr->y; _bottom = heightBak= imdPtr->height; _right = widthBak = imdPtr->width; + _right += _left - 1; + _bottom += _top - 1; if ((frame == 0) && (imdPtr->verMin & 0x800)) _vm->_video->setPalette(imdPtr->palette); @@ -1106,7 +1108,7 @@ uint32 ImdPlayer::view(Imd *imdPtr, int16 frame) { cmd = _vm->_dataIO->readUint16(imdPtr->handle); - // Clear sound slice + // Empty sound slice } else if (!hasNextCmd && (!_noSound)) { soundBuf = new byte[_soundSliceSize]; assert(soundBuf); |