aboutsummaryrefslogtreecommitdiff
path: root/scumm/camera.cpp
diff options
context:
space:
mode:
authorTravis Howell2003-10-06 12:28:52 +0000
committerTravis Howell2003-10-06 12:28:52 +0000
commitebd0b962fbc9885d1966b18618e27187c5754a8c (patch)
tree4c38e36472398a11d7d8749404052d0bcc390e12 /scumm/camera.cpp
parentc69fa6f4c56560829819462c3d6796a0d82f6143 (diff)
downloadscummvm-rg350-ebd0b962fbc9885d1966b18618e27187c5754a8c.tar.gz
scummvm-rg350-ebd0b962fbc9885d1966b18618e27187c5754a8c.tar.bz2
scummvm-rg350-ebd0b962fbc9885d1966b18618e27187c5754a8c.zip
Should not apply to loom/loomcd, they only use room scrolling at one point and this causes glitches.
svn-id: r10635
Diffstat (limited to 'scumm/camera.cpp')
-rw-r--r--scumm/camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/camera.cpp b/scumm/camera.cpp
index 3f072950ea..fdee036e4c 100644
--- a/scumm/camera.cpp
+++ b/scumm/camera.cpp
@@ -339,7 +339,7 @@ void ScummEngine::cameraMoved() {
virtscr[0].xstart = _screenStartStrip << 3;
#endif
- if (_charset->_hasMask && !(_version <= 3 && _gameId != GID_LOOM)) {
+ if (_charset->_hasMask && (_version >= 4 && _gameId != GID_LOOM256)) {
int dx = camera._cur.x - camera._last.x;
int dy = camera._cur.y - camera._last.y;
if (dx || dy) {