mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-27 20:28:27 +00:00
cleanup
svn-id: r15300
This commit is contained in:
parent
59fb1a53cf
commit
b60c95be7c
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user