aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/fullpipe/statics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp
index 343d5e92dc..4b5e4c1e35 100644
--- a/engines/fullpipe/statics.cpp
+++ b/engines/fullpipe/statics.cpp
@@ -1553,7 +1553,7 @@ bool Movement::gotoPrevFrame() {
_currDynamicPhaseIndex--;
if (_currDynamicPhaseIndex < 0)
- _currDynamicPhaseIndex = _currMovement->_dynamicPhases.size() - 1;
+ _currDynamicPhaseIndex = _dynamicPhases.size() - 1;
}
updateCurrDynamicPhase();