diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index c64bc6b149..6306bd8528 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -297,7 +297,7 @@ void Actor::UpdateTweening( float fDeltaTime ) } } -bool Actor::IsFirstUpdate() +bool Actor::IsFirstUpdate() const { return m_bFirstUpdate; } diff --git a/stepmania/src/Actor.h b/stepmania/src/Actor.h index 7366b18f16..4055e693e9 100644 --- a/stepmania/src/Actor.h +++ b/stepmania/src/Actor.h @@ -64,7 +64,7 @@ public: virtual void DrawPrimitives() {}; // Derivitives should override virtual void EndDraw(); // pops transform from world matrix stack - bool IsFirstUpdate(); + bool IsFirstUpdate() const; virtual void Update( float fDeltaTime ); void UpdateTweening( float fDeltaTime ); void CopyTweening( const Actor &from );