Skip to content

Commit

Permalink
FULLPIPE: Fix gotoLastFrame() implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Aug 25, 2016
1 parent 967ef35 commit 7976766
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions engines/fullpipe/statics.cpp
Expand Up @@ -2157,8 +2157,11 @@ void Movement::gotoLastFrame() {
while ((uint)_currDynamicPhaseIndex != _currMovement->_dynamicPhases.size() - 1)
gotoNextFrame(0, 0);
} else {
while ((uint)_currDynamicPhaseIndex != _dynamicPhases.size() - 1)
gotoNextFrame(0, 0);
if ((uint)_currDynamicPhaseIndex != _dynamicPhases.size() - 1) {
do {
gotoNextFrame(0, 0);
} while ((uint)_currDynamicPhaseIndex != _dynamicPhases.size() - 1);
}
}
}

Expand Down

0 comments on commit 7976766

Please sign in to comment.