diff options
author | Travis Howell | 2004-01-06 13:28:19 +0000 |
---|---|---|
committer | Travis Howell | 2004-01-06 13:28:19 +0000 |
commit | dd1eb2a4b4b0eef3a771ba67d24e737f4f016e8d (patch) | |
tree | 9428778cd0315b20b1561e30c693f6aef4d1f132 /scumm | |
parent | a50c228ae4bb846441182dd2a4a6619fecef107b (diff) | |
download | scummvm-rg350-dd1eb2a4b4b0eef3a771ba67d24e737f4f016e8d.tar.gz scummvm-rg350-dd1eb2a4b4b0eef3a771ba67d24e737f4f016e8d.tar.bz2 scummvm-rg350-dd1eb2a4b4b0eef3a771ba67d24e737f4f016e8d.zip |
Fix subtitles glitch when subtitles are shown during room scroll in pass.
svn-id: r12179
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/camera.cpp | 2 | ||||
-rw-r--r-- | scumm/gfx.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scumm/camera.cpp b/scumm/camera.cpp index 57cc1e8538..bf2f23ab46 100644 --- a/scumm/camera.cpp +++ b/scumm/camera.cpp @@ -346,7 +346,7 @@ void ScummEngine::cameraMoved() { // Fixes subtitle glitches during room scrolling in two cut scenes // When talking to Rusty for first time // When sleeping in straw at Blacksmith's Guild. - if (_gameId == GID_LOOM256 && dx) + if ((_gameId == GID_LOOM256 || _gameId == GID_PASS) && dx) gdi._mask.left -= 8; else if (dx || dy) { gdi._mask.left -= dx; diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 3c96ea196a..caeeacbd8a 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -495,7 +495,7 @@ void ScummEngine::redrawBGAreas() { int diff; if (!(_features & GF_NEW_CAMERA)) - if (camera._cur.x != camera._last.x && _charset->_hasMask && _version > 3) + if (camera._cur.x != camera._last.x && _charset->_hasMask && (_version > 3 && _gameId != GID_PASS)) stopTalk(); val = 0; |