diff --git a/stepmania/src/ActorFrame.cpp b/stepmania/src/ActorFrame.cpp index 5e49309095..05b7c62ac2 100644 --- a/stepmania/src/ActorFrame.cpp +++ b/stepmania/src/ActorFrame.cpp @@ -88,6 +88,15 @@ void ActorFrame::SetUseZBuffer( bool b ) m_SubActors[i]->SetUseZBuffer( b ); } +void ActorFrame::FinishTweening() +{ + Actor::FinishTweening(); + + // set all sub-Actors + for( unsigned i=0; iFinishTweening(); +} + float ActorFrame::GetTweenTimeLeft() const { float m = Actor::GetTweenTimeLeft(); diff --git a/stepmania/src/ActorFrame.h b/stepmania/src/ActorFrame.h index 9965f0fd4c..7184087579 100644 --- a/stepmania/src/ActorFrame.h +++ b/stepmania/src/ActorFrame.h @@ -29,7 +29,8 @@ public: virtual void SetDiffuse( RageColor c ); virtual void SetUseZBuffer( bool b ); - + virtual void FinishTweening(); + /* Amount of time until all tweens (and all children's tweens) have stopped: */ virtual float GetTweenTimeLeft() const;