mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-15 22:38:09 +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);
|
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);
|
setCameraAt(a->_pos.x, 0);
|
||||||
|
|
||||||
for (i = 1; i < _numActors; i++) {
|
for (i = 1; i < _numActors; i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user