FULLPIPE: Fix lockup on game start

This commit is contained in:
Eugene Sandulenko 2014-06-08 22:07:14 +03:00
parent ec62d1e99f
commit 4ff543b22a

View file

@ -1766,8 +1766,8 @@ Common::Point *Movement::calcSomeXY(Common::Point &p, int idx, int dynidx) {
setOXY(x, y);
while (_currDynamicPhaseIndex != dynidx)
gotoNextFrame(0, 0);
while (_currDynamicPhaseIndex != dynidx && gotoNextFrame(0, 0))
;
p.x = _ox;
p.y = _oy;