diff options
author | Max Horn | 2004-09-26 18:09:06 +0000 |
---|---|---|
committer | Max Horn | 2004-09-26 18:09:06 +0000 |
commit | b60c95be7caffbc43d0656c9a441c46bbe1ddcc9 (patch) | |
tree | 607ea64aab437010f6ab3be268d90daeffadb9ee /scumm | |
parent | 59fb1a53cfe17c020b9d7268dcd19ac5fb7a5dc6 (diff) | |
download | scummvm-rg350-b60c95be7caffbc43d0656c9a441c46bbe1ddcc9.tar.gz scummvm-rg350-b60c95be7caffbc43d0656c9a441c46bbe1ddcc9.tar.bz2 scummvm-rg350-b60c95be7caffbc43d0656c9a441c46bbe1ddcc9.zip |
cleanup
svn-id: r15300
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/camera.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/camera.cpp b/scumm/camera.cpp index b5770276c6..468c1451f0 100644 --- a/scumm/camera.cpp +++ b/scumm/camera.cpp @@ -103,9 +103,9 @@ void ScummEngine::setCameraFollows(Actor *a) { setCameraAt(camera._cur.x, 0); } - t = a->_pos.x / 8; + t = a->_pos.x / 8 - _screenStartStrip; - if (t - _screenStartStrip < camera._leftTrigger || t - _screenStartStrip > camera._rightTrigger) + if (t < camera._leftTrigger || t > camera._rightTrigger) setCameraAt(a->_pos.x, 0); for (i = 1; i < _numActors; i++) { |