diff options
author | Paul Gilbert | 2014-11-09 15:34:05 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:26:49 -0500 |
commit | d7cf5701324eb0e9b69017e596f8577bf9fe14a1 (patch) | |
tree | 9fb53e7e6ae4accaf3eff3425ea695fec89f8f39 | |
parent | bbaea32386927c856d22b97c877ddbba41fb142f (diff) | |
download | scummvm-rg350-d7cf5701324eb0e9b69017e596f8577bf9fe14a1.tar.gz scummvm-rg350-d7cf5701324eb0e9b69017e596f8577bf9fe14a1.tar.bz2 scummvm-rg350-d7cf5701324eb0e9b69017e596f8577bf9fe14a1.zip |
ACCESS: Fix restoring talk bubbles where right edge is a bit over screen edge
-rw-r--r-- | engines/access/bubble_box.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |