aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/walk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction/walk.cpp')
-rw-r--r--engines/parallaction/walk.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/parallaction/walk.cpp b/engines/parallaction/walk.cpp
index ec435fddec..f9fd6254e1 100644
--- a/engines/parallaction/walk.cpp
+++ b/engines/parallaction/walk.cpp
@@ -437,6 +437,10 @@ void PathWalker_BR::setFollowerPath(AnimationPtr a, uint16 x, uint16 y) {
}
void PathWalker_BR::stopFollower() {
+ if (_follower._active) {
+ uint32 frame = _follower._a->getF();
+ _follower._a->setF((frame/9) * 9);
+ }
_follower._a.reset();
_follower._active = false;
}