diff options
author | Paul Gilbert | 2015-06-11 19:21:17 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-11 19:21:17 -0400 |
commit | 27aa19bca78fe921127bc5b547ea0da0aaf7ea74 (patch) | |
tree | 31be111856d5a015f40f0048c110d12d1d82e75e | |
parent | 16b65badc06b60d434f5f7bb0781b324f567e18c (diff) | |
download | scummvm-rg350-27aa19bca78fe921127bc5b547ea0da0aaf7ea74.tar.gz scummvm-rg350-27aa19bca78fe921127bc5b547ea0da0aaf7ea74.tar.bz2 scummvm-rg350-27aa19bca78fe921127bc5b547ea0da0aaf7ea74.zip |
SHERLOCK: Fix memory corruption when displaying map
-rw-r--r-- | engines/sherlock/tattoo/tattoo_scene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/tattoo_scene.cpp b/engines/sherlock/tattoo/tattoo_scene.cpp index eaabcfc64b..fa37f67f66 100644 --- a/engines/sherlock/tattoo/tattoo_scene.cpp +++ b/engines/sherlock/tattoo/tattoo_scene.cpp @@ -130,7 +130,7 @@ void TattooScene::drawAllShapes() { screen._backBuffer1.transBlitFrom(*_activeCAnim._imageFrame, _activeCAnim._position, (_activeCAnim._flags & 4) >> 1, 0, _activeCAnim._scaleVal); - screen.setDisplayBounds(Common::Rect(0, 0, screen._backBuffer1.w(), screen._backBuffer1.h())); + screen.resetDisplayBounds(); // Queue drawing of all objects that are set to NORMAL. for (uint idx = 0; idx < _bgShapes.size(); ++idx) { |