diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index 578b67cca5..f31bc5a120 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -1145,6 +1145,24 @@ void Actor::TweenState::Init() aux = 0; } +bool Actor::TweenState::operator==( const TweenState &other ) const +{ +#define COMPARE( x ) if( x != other.x ) return false; + COMPARE( pos ); + COMPARE( rotation ); + COMPARE( quat ); + COMPARE( scale ); + COMPARE( fSkewX ); + COMPARE( crop ); + COMPARE( fade ); + for( unsigned i=0; i