ACCESS: Fix restoring talk bubbles where right edge is a bit over screen edge

This commit is contained in:
Paul Gilbert 2014-11-09 15:34:05 -05:00
parent bbaea32386
commit d7cf570132

View File

@ -52,6 +52,8 @@ void BubbleBox::clearBubbles() {
_vm->_screen->_screenYOff = 0;
Common::Rect r = _bubbles[i];
r.left -= 2;
r.right = MIN(r.right, (int16)_vm->_screen->w);
_vm->_screen->copyBlock(&_vm->_buffer2, r);
}