From 0d4f15c72f34103cf80c04d99626f09d72b98286 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 27 Dec 2004 22:30:51 +0000 Subject: [PATCH] const --- stepmania/src/Actor.cpp | 2 +- stepmania/src/Actor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 );