aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/walking.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/draci/walking.h')
-rw-r--r--engines/draci/walking.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/draci/walking.h b/engines/draci/walking.h
index 4c0f31d116..eb165b2c6f 100644
--- a/engines/draci/walking.h
+++ b/engines/draci/walking.h
@@ -120,9 +120,11 @@ public:
// Advances the hero along the path and changes animation accordingly.
// Walking MUST be active when calling this method. When the hero has
- // arrived to the target, clears the path and returns false, but leaves
- // the callback untouched (the caller must call it).
+ // arrived to the target, returns false, but leaves the callback
+ // untouched (the caller must call it).
+ // The second variant also clears the path when returning false.
bool continueWalking();
+ bool continueWalkingOrClearPath();
// Called when the hero's turning animation has finished.
void heroAnimationFinished();