From d7cf5701324eb0e9b69017e596f8577bf9fe14a1 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 9 Nov 2014 15:34:05 -0500 Subject: ACCESS: Fix restoring talk bubbles where right edge is a bit over screen edge --- engines/access/bubble_box.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engines/access/bubble_box.cpp b/engines/access/bubble_box.cpp index d865d5c9b3..37b757f8d9 100644 --- a/engines/access/bubble_box.cpp +++ b/engines/access/bubble_box.cpp @@ -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); } -- cgit v1.2.3