diff options
author | Eugene Sandulenko | 2014-06-08 22:07:14 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-06-08 22:07:39 +0300 |
commit | 4ff543b22a19ffccfec2d176e2cb0b92b13de2e1 (patch) | |
tree | 24dede34fb10c7655fe7ea52944d60c02c623d5d /engines | |
parent | ec62d1e99fff011555357a0e13eb530d23080eaf (diff) | |
download | scummvm-rg350-4ff543b22a19ffccfec2d176e2cb0b92b13de2e1.tar.gz scummvm-rg350-4ff543b22a19ffccfec2d176e2cb0b92b13de2e1.tar.bz2 scummvm-rg350-4ff543b22a19ffccfec2d176e2cb0b92b13de2e1.zip |
FULLPIPE: Fix lockup on game start
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/statics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp index ec8514143e..292ef08914 100644 --- a/engines/fullpipe/statics.cpp +++ b/engines/fullpipe/statics.cpp @@ -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; |