mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
ACCESS: Fix restoring talk bubbles where right edge is a bit over screen edge
This commit is contained in:
parent
bbaea32386
commit
d7cf570132
@ -52,6 +52,8 @@ void BubbleBox::clearBubbles() {
|
|||||||
_vm->_screen->_screenYOff = 0;
|
_vm->_screen->_screenYOff = 0;
|
||||||
Common::Rect r = _bubbles[i];
|
Common::Rect r = _bubbles[i];
|
||||||
r.left -= 2;
|
r.left -= 2;
|
||||||
|
r.right = MIN(r.right, (int16)_vm->_screen->w);
|
||||||
|
|
||||||
_vm->_screen->copyBlock(&_vm->_buffer2, r);
|
_vm->_screen->copyBlock(&_vm->_buffer2, r);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user