diff options
author | Paul Gilbert | 2016-03-22 22:36:49 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-22 22:36:49 -0400 |
commit | bfcf006bbbec047c973f2008711e005ffb40acff (patch) | |
tree | f292a3555d113600e60b37cb7414cc6e056a5c60 /engines/titanic/screen_manager.cpp | |
parent | 06bd62fed403684afe00c018647cb4febeeddcce (diff) | |
download | scummvm-rg350-bfcf006bbbec047c973f2008711e005ffb40acff.tar.gz scummvm-rg350-bfcf006bbbec047c973f2008711e005ffb40acff.tar.bz2 scummvm-rg350-bfcf006bbbec047c973f2008711e005ffb40acff.zip |
TITANIC: Fixes for correct positioning of view background
Diffstat (limited to 'engines/titanic/screen_manager.cpp')
-rw-r--r-- | engines/titanic/screen_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/screen_manager.cpp b/engines/titanic/screen_manager.cpp index f13ecdd8fc..11063be2b6 100644 --- a/engines/titanic/screen_manager.cpp +++ b/engines/titanic/screen_manager.cpp @@ -149,7 +149,7 @@ void OSScreenManager::blitFrom(SurfaceNum surfaceNum, CVideoSurface *src, rect2 = srcBounds; rect2.translate(-srcBounds.left, -srcBounds.top); rect2.translate(destPoint.x, destPoint.y); - rect2.combine2(_backSurfaces[surfaceNum]._bounds); + rect2.constrain(_backSurfaces[surfaceNum]._bounds); rect2.translate(-destPoint.x, -destPoint.y); rect2.translate(srcBounds.left, srcBounds.top); |