aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/animation.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/teenagent/animation.h')
-rw-r--r--engines/teenagent/animation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/teenagent/animation.h b/engines/teenagent/animation.h
index 3e65a73b94..f77fbcf679 100644
--- a/engines/teenagent/animation.h
+++ b/engines/teenagent/animation.h
@@ -44,6 +44,7 @@ public:
Surface *firstFrame();
Surface *currentFrame(int dt = 1);
uint16 currentIndex() const { return index; }
+ void resetIndex() { index = 0; }
~Animation();