Fix subtitles glitch when subtitles are shown during room scroll in pass.

svn-id: r12179
This commit is contained in:
Travis Howell 2004-01-06 13:28:19 +00:00
parent a50c228ae4
commit dd1eb2a4b4
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;