svn-id: r15300
This commit is contained in:
Max Horn 2004-09-26 18:09:06 +00:00
parent 59fb1a53cf
commit b60c95be7c

View File

@ -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++) {